Validator should accept JSON::Schema objects