Swift: Could not cast value of type '__NSCFArray' to 'NSDictionary'

let weather = mainDictionary["weather"] as! [[String : AnyObject]]