Improved reiliance to bad JSON config.