def METHOD_NAME(self, key):
    "Like `gets`, but include the paths, like `get_path` for all matches."
    result_list = []
    if key in self.keys():
        result_list.append(((key,), self[key]))
    for sub_key, v in self.items():
        if isinstance(v, self.__class__):
            sub_res_list = v.METHOD_NAME(key)
            for key_path, res in sub_res_list:
                result_list.append(((sub_key,) + key_path, res))
        elif isinstance(v, dict):
            if key in v.keys():
                result_list.append(((sub_key, key), v[key]))
    return result_list