code: function Tree2Json(inputTree) {
    if (!(this instanceof Tree2Json)) return new Tree2Json(inputTree);
  
    this.inputTree = inputTree.replace(/\/$/, '');
    this.walker = new TreeTraverser(inputTree, this);
  }
docs: Take an input tree, and roll it up into a JSON document.
  The resulting document will be named `srcDir.json`. it will have
  key names associated with each of the file and directories that `srcDir` contains.
  If the key represents the file, then the stringified file contents will be the value of the key.
  If the key represents a directory, then the value of that key will be an `Object`, represented
  by the same algorithm
  
  @param inputTree {string} - relative path to source tree
  @return {Tree2Json}
  @constructor
  @alias module:index