title: Swift 3 JSON Bug?
body: <p>I can't seem to compile my code no matter how much I fiddle with it. I think I need another perspective. </p>
  
  <p>At "let image = data["images"] as! [String : AnyObject]"</p>
  
  <p>xcode keeps telling me "Cannot subscript a value of type '[[String : AnyObject]]' with an index of type 'String'"</p>
  
  <pre><code>func retreiveInstagramMedia() {
      let token = user?.token
      let urlString = "https://api.instagram.com/v1/users/self/media/recent/?access_token=\(token!)"
      let url = URL(string: urlString)
      URLSession.shared.dataTask(with: url!, completionHandler: {
          (data, response, error) in
          if(error != nil){
              print("error")
          }else{
              do{
                  let json = try JSONSerialization.jsonObject(with: data!, options:.allowFragments) as! [String : AnyObject]
  
                  if let data = json["data"] as? [[String : AnyObject]] {
                          let image = data["images"] as! [String : AnyObject]
                          let standardResolution = image["standard_resolution"] as! [String : AnyObject]
                          let url = standardResolution["url"] as! String
                          print(url)
  
  
                  }
  
                  OperationQueue.main.addOperation({
                      self.tableView.reloadData()
                  })
  
              }catch let error as NSError{
                  print(error)
              }
          }
      }).resume()
  }
  </code></pre>