add some monkey patching for json encoding
update networks module to use plain netaddr.IPNetwork objects instead of a subclass