Nitpick: you can use a context manager to make this even shorter:
```python
with open('env.json') as f:
    env_data = json.load(f)
```
When Python exists the `with` block, it will automatically close the file.