I have this JSON file:

```
{
    "People" : [{
        {
            "Name": "Jack"
            "Age": 130,
            "Job": "Doctor",
        },
        {
            "Name": "Mark"
            "Age": 45,
            "Job": "Engineer",
        },
        {
            "Name": "Sarah"
            "Age": 27,
            "Job": "Designer",
        },

    }]
}

```

Here is how I parse it using a helper function:

```
static func parseJson(file: String) -> [String: Any] {
        let jsonFile = Bundle.main.path(forResource: file, ofType: "json")
        let jsonData = NSData(contentsOfFile: jsonFile!)
        let jsonDictionary = try? JSONSerialization.jsonObject(with: jsonData! as Data, options: [])

        return jsonDictionary as! [String: Any] <-- Error
    }

```

Then when I try to initialise it:

```
let data = parseJson(file: "People")  as! [String: Any]
print(data["people"])

```

I get this error:

```
fatal error: unexpectedly found nil while unwrapping an Optional value

```

What am I doing wrong here? I followed this [tutorial by Apple](https://developer.apple.com/swift/blog/?id=37)