adds gem for json serialization and generates model serializers