private void addIndent() {
        int n = currIndent;
        for (int i = 0; i < n; ++i) {
            str.append(' ');
        }
    }
Add a number of spaces equal to the current indent to the string we are building.
vespajlib/src/main/java/com/yahoo/vespa/objects/ObjectDumper.java