code: function(includeRoot, callback) {
  			var res = this.rootNode.toDict(true, callback);
  			return includeRoot ? res : res.children;
  		}
docs: Return all nodes as nested list of {@link NodeData}.
  
  @param {boolean} [includeRoot=false] Returns the hidden system root node (and its children)
  @param {function} [callback] callback(dict, node) is called for every node, in order to allow modifications
  @returns {Array | object}
  @see FancytreeNode#toDict