@Override
        public Node arrayNode(ArrayNode node) {
            return node.getElements().stream().map(element -> element.accept(this)).collect(ArrayNode.collect());
        }
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