protecting against existing JSON file