This isn't really a useful model parsing method. It still requires the caller to hand type all of the attribute names, which is subject to typos, missing items, and unintended added items. There's little benefit here over throwing this dict into another under the key metadata and calling the PackageGroup constructor.