fix: msgpack encode of sample code