nitpick:
```
if content:
    return json.loads(content)
```