@Override
    public void openStruct(String name, String type) {
        if (name == null || name.isEmpty()) {
            addLine(type + " {");
        } else {
            addLine(name + ": " + type + " {");
        }
        openScope();
    }
Obtain the created object string representation. This object should be invoked after the complete object
structure has been visited.

@return object string representation
vespajlib/src/main/java/com/yahoo/vespa/objects/ObjectDumper.java