at each function call, I would like to append a new dictionary to a json file and save everything to an updated file.
Basically I would like to create a json file that ev