Fixing a bug with the way the data was looked up after creation and added a getJSON method for the schema