@classmethod
def _studio_response_to_kolibri_response(cls, studioresp):
    """
        This modifies the JSON response returned by Kolibri Studio,
        and then transforms its keys that are more in line with the keys
        we return with /api/channels.
        """
    included_languages = {}
    for code in studioresp.get('included_languages', []):
        included_languages[code] = cls._get_lang_native_name(code)
    channel_lang_name = cls._get_lang_native_name(studioresp.get('language'))
    resp = {'id': studioresp['id'], 'description': studioresp.get(
        'description'), 'name': studioresp['name'], 'lang_code': studioresp
        .get('language'), 'lang_name': channel_lang_name, 'thumbnail':
        studioresp.get('icon_encoding'), 'public': studioresp.get('public',
        True), 'total_resources': studioresp.get('total_resource_count', 0),
        'total_file_size': studioresp.get('published_size'), 'version':
        studioresp.get('version', 0), 'included_languages':
        included_languages, 'last_updated': studioresp.get('last_published'
        ), 'version_notes': studioresp.get('version_notes')}
    return resp
