@staticmethod
def prepare_name(data):
    """
        Prepare kwargs name words to yandex data structure
        :param data: kwargs of request
        :return: None
        """
    data['name'] = {'first': data['name'], 'last': data['secname'],
        'middle': data['sername']}
    for key in list(data['name'].keys()):
        if not data['name'][key]:
            del data['name'][key]
    for key in ['secname', 'sername']:
        del data[key]
    if not data['name']:
        del data['name']
