Warn and continue when JSON config file is malformed.
Unify reporting of API errors.