Use the basic toHtml function to convert the sir trevor json