The msgpack encoding for level.