DDF-221: The Metacard view HTML Generation should use a template engine