refactor(template): json to html