@Override
    public Node toNode() {
        // Synthesize an fn-node:
        return ObjectNode.builder()
                .withMember("fn", GetAttr.ID)
                .withMember("argv", ArrayNode.arrayNode(target.toNode(), StringNode.from(unparsedPath)))
                .build();
    }
Gets the list of {@link Part}s that make up the path to the requested attribute.

@return the list of path parts to the requested attribute.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/expressions/functions/GetAttr.java