pub fn print_json<W: Write, T: Serialize>(out: &mut W, value: &T) -> Result<()>
Print a serializable value as pretty JSON, followed by a newline.