private static void encodeDenseValues(IndexedTensor tensor, Cursor target) {
        encodeValues(tensor, target, new long[tensor.dimensionSizes().dimensions()], 0);
    }
Serializes the given tensor type and value into a short-form JSON format.

@deprecated use #encode(#Tensor, boolean, boolean)
vespajlib/src/main/java/com/yahoo/tensor/serialization/JsonFormat.java