add active model serializers to gemfile
 refactor event model and eventsController using eventSerializer for json endpoints