convert sir trevor json to html