with open("employees.json", "w") as f: json.dump(employees, f)