Changed events.content type from string to text