Added simplejson module
Changed the way we write data to the file, as well as using json.loads, and making sure the file is owned by the user after creation