write me script that shows the saves a dictionnary in json format in a file in python