Fix Dictionary-Casting to allow setting 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.