convert ip_prefix_list to common/list datastructure