text: expected_output = {
    "rtp": {
      "statements": {
        "10": {
          "actions": {
            "set_next_hop_self": False,
            "route_disposition": "permit"
          },
          "conditions": {
            "match_prefix_list_v6": "cisco&&2",
            "match_nexthop_in_v6": ["cisco"]
          },
          "policy_routing_matches": { "packets": 0, "bytes": 0 }
        }
      }
    },
    "test": {
      "description": "hello!",
      "statements": {
        "10": {
          "actions": {
            "set_next_hop_self": False,
            "route_disposition": "permit",
            "set_tag": "10",
            "set_next_hop_v6": ["2001:DB8:1::1", "2001:DB8:2::1"]
          },
          "conditions": {
            "match_interface": "GigabitEthernet1",
            "match_nexthop_in": ["FILTER25", "FILTER.26"],
            "match_nexthop_in_v6": ["test"],
            "match_community_list": "DENY50000! DENY50000",
            "match_ext_community_list": "DENY50000 DENY50000!",
          },
          "policy_routing_matches": { "packets": 0, "bytes": 0 }
        }
      }
    },
    "test2": {
      "statements": {
        "10": {
          "actions": {
            "set_next_hop_self": True,
            "route_disposition": "permit",
            "set_metric": 100,
            "set_metric_type": "external",
            "set_tag": "10",
            "set_local_pref": 111,
            "set_community_delete": "test",
            "set_community": "6553700",
            "set_ext_community_soo": "100:10",
            "set_ext_community_rt": ["100:10", "100:100", "200:200"],
            "set_ext_community_rt_additive": True,
            "set_ext_community_vpn": "100:100",
            "set_route_origin": "incomplete",
            "set_next_hop": ["10.4.1.1", "10.16.2.2"],
            "set_next_hop_v6": ["2001:DB8:1::1", "2001:DB8:2::1"]
          },
          "conditions": { "match_med_eq": 100 },
          "policy_routing_matches": { "packets": 0, "bytes": 0 }
        },
        "20": {
          "actions": {
            "set_next_hop_self": False,
            "route_disposition": "permit",
            "set_metric": -20,
            "set_ospf_metric_type": "type-1",
            "set_route_origin": "igp",
            "set_next_hop": ["10.36.3.3"],
            "set_next_hop_v6": ["2001:DB8:3::1"]
          },
          "conditions": {
            "match_prefix_list": "test test_2 test&3",
            "match_level_eq": "level-1-2",
            "match_interface": "GigabitEthernet1 GigabitEthernet2",
            "match_as_path_list": "100",
            "match_community_list": "test",
            "match_ext_community_list": "test"
          },
          "policy_routing_matches": { "packets": 0, "bytes": 0 }
        }
      }
    }
  }
  