pub fn emit_error_json(command: &str, message: &str)
Emit a JSON error object (for command failures under --json).
--json