[server][mlpl][SmartTime] Reimplement ostream &operator<<() with the cast operator to string.