html-writer: Write data first, header after
html-writer: Produce json/HTML directly, not via strings