schema to json model