Some updates to validators to produce better schemas that comply with jsonschema draft 4