change protobuf to json