Fix dictionary-casting error when setting the type

Archived and Exported Bundles where not able to set the assertion type--basically breaking "Allow Display Sleep"---do to casting a NSDictionary to the wrong swift-equivalent.

This was fixed by downcasting to the right type.