'Return object data in easily serializeable format'

@property
def serialize(self):

    return {'name': self.name, 'description': self.description, 'id': self.id, 'price': self.price, 'course': self.course}
