making make_event handling unicode keys correctly