Convert a string param value to T. std::string passes through unchanged; other types are parsed via a stream extractor (params arrive as strings).