Made the events endpoint respond to several content types