Add convenience method for reading JSON

Also added a method which lets you define how to combine multiple
instance of the searched file. This is used by the JSON reader to build
lists and dictionaries from multiple files.