A utility that generates a directory structure from a JSON object.