PIM-1655: Clean metric twig template