Use Serialize to dump events and objects to file