I think BytesRef.toString is too verbose since it uses 4 chars per byte ('0xc3' for example). Maybe we could directly call `currentPayloads[j] = Base64.encode(curPaypoad.bytes, curPaypoad.offset, curPaypoad.length)`?