'update a dicts keys to use new names as transformed by self._transform_name'

def _transform_dict_keys(self, fact_dict):

    for old_key in list(fact_dict.keys()):
        new_key = self._transform_name(old_key)
        fact_dict[new_key] = fact_dict.pop(old_key)
    return fact_dict
