toHTML.default function

Convert report objects to HTML