Remove section titles and comments from JSON output

The comment syntax is not proper JSON.