Minor style improvements

- Use json.load directly on FD
- Wrap content path building

Signed-off-by: Vincent Vinet <vince.vinet@gmail.com>