Only print error messages if json output is requested