Update json-schema-validator dependency to 2.1.2

Adapt code accordingly.