@staticmethod
def auto_ml_unnest_param(p):
    """ unnest a param dictionnary,
        skipping 'ColumnsSelector' and 'columns_to_use'

        """
    res = {}
    for k, v in p['all_models_params'].items():
        if k[1][1] != 'ColumnsSelector':
            for k2, v2 in v.items():
                if k2 != 'columns_to_use':
                    res['__'.join(k[1]) + '__' + k2] = v2
            res[k[1][0]] = k[1][1]
    for b in p['blocks_to_use']:
        res['hasblock_%s' % b] = 1
    res['job_id'] = p['job_id']
    return res
