Take in a data structure and output nf/iptables and ipset save data