@register.tag(name="get_key_li_item")
def do_key_li_item(parser, token):
    try:
        # splitting args provided
        tag_name, keys_dict, key_item = token.split_contents()
    except ValueError:
        raise template.TemplateSyntaxError("%r tag requires exactly two arguments" % token.contents.split()[0])
    return ProvideLiElement(keys_dict, key_item)
converts search/index form results dict into more readable format.
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/do_key_li_item