'Return object data in easily serializable format'

@property
def serialize(self):

    return {'id': self.id, 'firstname': self.firstname, 'lastname': self.lastname, 'email': self.email, 'city': self.city, 'address': self.address, 'state': self.state, 'country': self.country}
