Added naive jsonSchemaCheck function.