Modifications to hoxworth/json-schema to make error handling more configurable