public static void serializeByteArray(JsonGenerator generator, FieldBase field, byte[] value) {
        serializeByteBuffer(generator, field, ByteBuffer.wrap(value));
    }
@author Steinar Knutsen
@author Vegard Sjonfjell
document/src/main/java/com/yahoo/document/json/JsonSerializationHelper.java