Fix event model to return dates when serialized to JSON.