Minor style improvements

- Use json.load directly on FD
- Wrap contant path building

Signed-off-by: Vincent Vinet <vince.vinet@gmail.com>
Merge pull request #10 from veloutin/style_imp

Minor style improvements