Improved MsgPack implementation