'Serialize a CourseMode to a dict.'

@classmethod
def _serialize_course_mode(cls, course_mode):

    return {u'name': course_mode.mode_slug, u'currency': course_mode.currency.lower(), u'price': course_mode.min_price, u'sku': course_mode.sku, u'bulk_sku': course_mode.bulk_sku, u'expires': cls._serialize_datetime(course_mode.expiration_datetime)}
