private void renderMapOrArray(Inspector sequence, int nestingLevel)
        {
            if (sequence.entryCount() == 0) return;
            if (isMap(sequence)) {
                renderMap(sequence, nestingLevel + 1);
            } else if (isWeightedSetArrays(sequence)) {
                renderWeightedSet(sequence, nestingLevel + 1, true);
            } else if (isWeightedSetObjects(sequence)) {
                renderWeightedSet(sequence, nestingLevel + 1, false);
            } else {
                renderArray(sequence, nestingLevel + 1);
            }
            indent(nestingLevel);
        }
Returns true if the given array represents a weighted set,
as a list of tuples
container-search/src/main/java/com/yahoo/prelude/hitfield/XmlRenderer.java