[server][ItemDataUtils] Reimplement a cast operator << from ItemData to string.

The second argument is replaced to ItemDataPtr, because the real
pointer is hard to deal with the operator overload feauture.

E.g) The following overload causes a compiler error, becuase
it is already defined.

  int &operator<<(int &, const ItemData *itemData)