Allow multiple names to resolve to a type in a Scheme

Allows decoding multiple names into a single type, necessary for
v1beta3 (rename of Minion -> Node)

Extracted from #1600