def serialize(self):
     """Return object data in easily serializable format"""
     return {
         'id': self.id,
         'name': self.name,
         'logo': self.logo,
         'begin': DateFormatter().format_date(self.start_time),
         'end': DateFormatter().format_date(self.end_time),
         'timezone': self.timezone,
         'latitude': self.latitude,
         'longitude': self.longitude,
         'location_name': self.location_name,
         'email': self.email,
         'description': self.description,
         'event_url': self.event_url,
         'background_url': self.background_url,
         'thumbnail': self.thumbnail,
         'large': self.large,
         'icon': self.icon,
         'organizer_name': self.organizer_name,
         'organizer_description': self.organizer_description,
         'has_session_speakers': self.has_session_speakers,
         'privacy': self.privacy,
         'ticket_url': self.ticket_url,
         'code_of_conduct': self.code_of_conduct,
         'schedule_published_on': self.schedule_published_on
     }
 def serialize(self):
     """Return object data in easily serializeable format"""
     return {
         'id':
         self.id,
         'title':
         self.title,
         'subtitle':
         self.subtitle,
         'short_abstract':
         self.short_abstract,
         'long_abstract':
         self.long_abstract,
         'comments':
         self.comments,
         'begin':
         DateFormatter().format_date(self.start_time),
         'end':
         DateFormatter().format_date(self.end_time),
         'track':
         self.track.id if self.track else None,
         'speakers': [{
             'id': speaker.id,
             'name': speaker.name
         } for speaker in self.speakers],
         'microlocation':
         self.microlocation.id if self.microlocation else None
     }