Add optional TOC generation

* Use reg-ex in JSON file to extract one level of headings