Inputdata needed to be serialized for the network. Further, had to have a JSON-safe payload for indicating name for certificate look up, to avoid doing pickle load on client input prior to client validation.