set up foundation for duplicate and nested element flags in starch v2->v2.1 spec upgrade