@Override
    protected List createDefaultList(int initSize) {
        // respect order from YAML document
        return new Sequence(initSize);
    }
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