I'd probably

```js
{content: html, toc: JSON.stringify(data, null, 2)};
```

and then pass the data to jade in `prime/docs.js`