Switched to ios::PrintWriter from std::istream, using ios::String instead of lexical_cast for UUIDs, worky, worky!