Updated examples for JSON and HTML output