```serialize_networks```