working on json file