pub fn json_pretty(input: &str) -> Result<String, String>
Pretty-print JSON with two-space indentation.
Returns an error when the input is not valid JSON.