Modified getMonthEvents() to return an array of objects.