You should have a template for this and use Mustache
(you don't have to put it in the separate file, just have it here as a string)