created FileIO.writeJSONObject and FileIO.readJSONObject methods that get called by model classes