private void assertEncodeShortForm(Tensor tensor, String expected) {
        byte[] json = JsonFormat.encode(tensor, true, false);
        assertEquals(expected, new String(json, StandardCharsets.UTF_8));
    }
All cell types are rendered as double.
vespajlib/src/test/java/com/yahoo/tensor/serialization/JsonFormatTestCase.java