fn string_to_api_host_names(hosts: &str) -> Vec<String>
Transform a string list of host names into a vec of host names.