pub type EncodeRequestJson = fn(&[u8]) -> Result<Value, GestaltError>;
Encodes a wire request message as protobuf JSON for REST transports.