MessagePack for Serialization

@novabyte
I had some issues with TinyJson (Nakama.TinyJson Parsing High Numbers Problem - #2 by novabyte)
So I was reading about methods to serialize data and MessagePack had a lot of benefits like speed, performance & data size
So I checked it

There are two options for Lua on the site
I tried

but I had some issues on line 148

local length = #elements // 2

Also tried the below link and encountered some problems

I know this is not an issue related directly to Nakama but I though maybe someone used it and can share his knowledge. Also, maybe a good solution to be considered along with TinyJson.