Nit: I'd probably just do:

```
if not troubleshooting_json:
```

which handles None and ''.