refactoring json2dir because of a weird bug with calling callback twice. adding remove and doesExist, solidifying ignoreExists and overwrite options