edits on json file to json object conversion