Google is using base64 encoding to convert raw bytes to JSON string https://developers.google.com/protocol-buffers/docs/proto3#json with Proto3. It would be nice if protobuf-java-format does the same