unpack the protobuf more effectively