updated json-schema tests and examples to json-schema spec draft v4