Fix usage of date with JSON Schema