I am trying to get data to save to a JSON file however I keep getting the following errors and I can\'t seem to figure out where I have gone wrong. When running my code the