 			#endif
 				
             switch response.result {
-                case .success:
+                case .success(let value):
                     // make sure we got JSON and it's an array of dictionaries
-                    guard let json = response.result.value as? [String: AnyObject] else {
-                        #if DEBUG
-                            print("Error: \(#function)\n", response.result.error!)
+                    guard let json = value as? [String: AnyObject] else {
+                        #if DEBUG
+                            print("Error: \(#function)\n", "Did not get JSON array in response")
                         #endif
                         
                         failureHandler("Did not get JSON array in response")

			#endif

            switch response.result {
                case .success:
                    guard let json = response.result.value as? [String: AnyObject] else {
                        #if DEBUG
                            print("Error: \(#function)\n", "Did not get JSON dictionary in response")
                        #endif


        let url = "https://" + settings.domainToUse + "/api/"
        
        let request = AF.request(url, method: .get, parameters: ["act": settings.highFiActCategory, "usedLanguage": settings.useToRetrieveLists, "APIKEY": settings.APIKEY, "deviceID": settings.deviceID, "appID": settings.appID])
        request.validate()
        request.responseJSON { response in
			
