'Return object data in easily serializeable format'

@property
def serialize(self):

    session_data = [{'title': session.title, 'id': session.id} for session in self.sessions]
    return {'id': self.id, 'name': self.name, 'photo': self.photo, 'thumbnail': self.thumbnail, 'small': self.small, 'icon': self.icon, 'short_biography': self.short_biography, 'long_biography': self.long_biography, 'speaking_experience': self.speaking_experience, 'email': self.email, 'mobile': self.mobile, 'website': self.website, 'twitter': self.twitter, 'facebook': self.facebook, 'github': self.github, 'linkedin': self.linkedin, 'organisation': self.organisation, 'position': self.position, 'country': self.country, 'city': self.city, 'gender': self.gender, 'heard_from': self.heard_from, 'sponsorship_required': self.sponsorship_required, 'sessions': session_data}
