Fix bug of from_msgpack() and to_msgpack() of TUserDef class