modules.network.routes(): use list comprehension to streamline code