@Override
    public Void stringNode(StringNode node) {
        try {
            writer.writeString(node.getValue());
            return null;
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Serializes {@link Node} objects to JSON.
smithy-model/src/main/java/software/amazon/smithy/model/node/internal/NodeWriter.java