msgpack encoding support