Need to find a way to save event objects. Normal JSON doesn't work.