Changed `prepare_event_dict` to a better and private name