public static String toJson(Inspector inspector) {
        return toJson(inspector, true);
    }
Extra utilities/operations on slime trees.

@author Ulf Lilleengen
vespajlib/src/main/java/com/yahoo/slime/SlimeUtils.java