allow schema to be generated as jsonnode