Fix constraint.json-schema namespace
Add basic JSON-Schema test
Add  key to json-schema output