Working version for std::string and std::vector of std::string