Merge pull request #11972 from Minty-Meeo/string-improvements-part-1c Replace std::ostringstream usage with fmt::format