def facet_processing(facets):
    """
    Convert PySolr facet return to regular dictionary form
    
    """
   
    facet_fields_dict = {}
    for facet_field, facet_data in facets.items():
        facet_pairs = zip(facet_data[::2], facet_data[1::2])
        facet_dict = {}
        for key, value in facet_pairs:
            facet_dict[key] = value
        facet_fields_dict[facet_field] = facet_dict
    
    return facet_fields_dict