implement sanity checks for json data generate internal representation of structure from json create output dir add worker templates