Decode protobuf to json format. Porting from pb2json (https://github.com/renenglish/pb2json). Use jsoncpp to replace jansson.