Make val_json() easier to use
Merge pull request #17 from Metaswitch/better-val_json

Reviewer Rob - Make val_json() easier to use