here (and elsewhere), i think the idiomatic thing to do when dealing with open/do-something/close patters is to use `with ... as ..: ..`

```python
with open(path) as json_data:
    return json.load(json_data)
```