   
   private static func isList(a: Any) -> Bool {
     if let _ = a as? NSArray { return true }
+    if let _ = a as? [Any] { return true }
     if let _ = a as? NSDictionary { return true }
     if let _ = a as? [String: Any] { return true }
-    if let _ = a as? [String: AnyObject] { return true }
     if let _ = a as? NSSet { return true }
     return false
   }

    }
    return nil
  }
  
  private static func swiftClassFromString(className: NSString) -> AnyClass? {
    let appName: NSString = "ApiTests"

    }
    if isList(a) {
      if let array = a as? NSArray {
        return serializeArray(array)
      } else if let array = a as? [Any] {
        return serializeArray(array)
      } else if let map = a as? [String: Any] {
        return serializeMap(map)
      } else if let map = a as? [String: AnyObject] { // for some reason, this doesn't match above
        return serializeMap(map)
      } else if let set = a as? NSSet {
        return serializeArray(set)
      }
    }
    
