public Map<String, Node> getStringMap() {
        Map<String, Node> map = stringMap;
        if (map == null) {
            map = new LinkedHashMap<>(nodeMap.size());
            for (Map.Entry<StringNode, Node> entry : nodeMap.entrySet()) {
                map.put(entry.getKey().getValue(), entry.getValue());
            }
            stringMap = Collections.unmodifiableMap(map);
        }

        return stringMap;
    }
Gets an immutable {@code Map<String, Node>} that represents the ObjectNode.

@return Returns the immutable map.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java