Optionally use msgpack to serialize data to lua script.