Make a tree of files and directories from data defined in an object
Serialize a tree of files and directories into object form