Added ability to specify output format (HTML, JSON, etc.)