Changed sanitize_names to to_string_array