Using the serde_json crate, I can use
::serde_json::to_string(&obj)
to serialize an object into a JSON string. The resulting JSON uses comp