Remove illegal comments

Comments aren't supported in JSON
Remove section titles and comments from JSON output

The comment syntax is not proper JSON.
Clean up jquery output.
Fix unit tests.
Fix leading and trailing spaces in android xml files.