Protobuf actually has a canonical text format. It's easy to produce in C++ or Java https://developers.google.com/protocol-buffers/docs/referenc...
The format has much less extra syntactical noise than JSON.
For example,
name: "vii" # comments allowed!
id: 23923373
Pretty nifty as it allows readable configuration files with structured data.