Proper JSON for error reporting