using process.umask(), using mkdirp for paths not yet initialized in origin json, adding miniscule test for json2dir