Pure C implementation of JSON to/from Protobuf convertor