strengthen msgpack handling