private static void addIncompatibilities(final NodeFlagPair nodeFlagPair) {
        Objects.requireNonNull(nodeFlagPair);
        addIncompatibilities(nodeFlagPair.getOnFlag(), nodeFlagPair.getOffFlag());
    }
Use the shortForm for json serialisation to reduce the size of the json as trees can contain a LOT
of nodes.
stroom-core-shared/src/main/java/stroom/explorer/shared/NodeFlag.java