Added support for specifying a directory of json files as the source