@SuppressWarnings("unchecked")
    protected final Map<String, Node> getChildrenWithVectorsFlattened() {
        Map<String, Node> ret = new LinkedHashMap<>();

        Map<String, Object> children = getChildren();
        for (Map.Entry<String, Object> childEntry : children.entrySet()) {
            String name = childEntry.getKey();
            Object child = childEntry.getValue();
            if (child instanceof NodeVector) {
                addNodeVectorEntries(ret, name, (NodeVector<?>) child);
            } else if (child instanceof Map<?,?>) {
                addMapEntries(ret, name, (Map<String, Node>) child);
            } else if (child instanceof Node) {
                ret.put(name, (Node)child);
            }
        }
        return ret;
    }
Returns a flat map of this node's direct children, including all NodeVectors' elements.
Keys are the node name, including index for vector elements, e.g. 'arr[0]'.
config-lib/src/main/java/com/yahoo/config/InnerNode.java