examples for JSON and HTML output