feat(tmpl): generate json templates

for using on js side as parts of markup

time: 1h:0