Decode protobuf to json format