code: function renderTree (object, options) {
    const tree = require('archy')(transformTree(object, options.fn))
    return '<pre><code>\n' + tree + '</code></pre>'
  }
docs: Render an object hierarchy.
  
  The expected input is of the form
  
  ```
  {
  prop1: 'value',
  prop2: 'value',
  ...,
  children: [
  {
  prop1: 'value',
  propt2: 'value',
  ...,
  children: ...
  }
  ]
  }
  ```
  
  The tree is transformed and rendered using [archy](https://www.npmjs.com/package/archy)
  
  @param object
  @param options
  @param {function} options.fn computes the label for a node based on the node itself
  @returns {string}
  @access public
  @memberOf helpers