Ensure that events are fully serializable