@Override
        public Node objectNode(ObjectNode node) {
            return node.getMembers()
                    .entrySet()
                    .stream()
                    .map(entry -> Pair.of(entry.getKey(), entry.getValue().accept(this)))
                    .collect(ObjectNode.collect(Pair::getLeft, Pair::getRight));
        }
Replaces strings in the given node.

@param node Node to update.
@return Returns the updated node.
smithy-build/src/main/java/software/amazon/smithy/build/JsonSubstitutions.java