Fixing problems with unboxing MsgPack types.