JsonSchemaProcessor refactored a bit.