Pure C implementation of Protobuf to/from JSON converter