@Override
    protected void constructSequenceStep2(SequenceNode node, Collection collection) {
        ((Sequence) collection).setSource(getSource(node));
        super.constructSequenceStep2(node, collection);
    }
Enforce Map keys are only Scalars and can be used as {@link String} keys in {@link Mapping}
plugin/src/main/java/io/jenkins/plugins/casc/yaml/ModelConstructor.java