Change migration attributes to text, add serialize to event model