I have the following swift3 code. The JSON can return a NSNull value for the $0[2] value.

```
struct Player3 {
    let name : String
    var score : String
    let avatar : String
}

class HistoricLeagueVC: UITableViewController {

    var players = [Player3]()

    override func viewDidLoad() {
        super.viewDidLoad()

        let urlString = "https://str8red.com/jsonoverallleaderboard/1025/"

        let url = URL(string: urlString)
        URLSession.shared.dataTask(with:url!) { (data, response, error) in
            if error != nil {
                print("there was an error")
            } else {
                do {
                    let parsedData = try JSONSerialization.jsonObject(with: data!) as! [[String]]

                    self.players = parsedData.map { Player3(name: $0[0], score: $0[1], avatar: $0[2]) }

                    print(self.players.count)
                    DispatchQueue.main.async {
                        self.tableView.reloadData()
                    }

                } catch let error as NSError {
                    print(error)
                }
            }

            }.resume()

    }

```

I have tried to convert it to an empty string without success. I have also tried to set a default string such as `"https://str8red.com/static/no_profile_picture.png"` which ideally is what I would like to do.

The error in the terminal states `Could not cast value of type 'NSNull' (0xed1c78) to 'NSString' (0x57b6b8).`

Any help would be appreciated.