private static Collection<Host> toHostInstances(String[] hostnames) {
        return Arrays.stream(hostnames).map(Host::new).toList();
    }
May affect e.g. the number of nodes/cluster.
config-model/src/main/java/com/yahoo/config/model/provision/InMemoryProvisioner.java