def read_profile_data(data): return data["Profile_1"] def write_profile_data(data, payload): data["Profile_1"].update(payload) def clear_profile_data(): return {"Profile_1": {}}