Python/C++ implementation of JSON to/from Protobuf convertor