docs: function switchOutput(type, json) {
    if (type[0] === '.') type = type.slice(1);
    var result = '';
  
    switch (type) {
      case 'md':
        result = ''
          + '\n```json\n'
          + json
          + '\n```\n';
        break;
      case 'html':
        result = ''
          + '<div class="highlight highlight-json">\n'
          + '<pre><code>\n'
          + json
          + '</code></pre>'
          + '</div>';
        break;
      default: {
        result = json;
        break;
      }
    }
    return result;
  }