use the string parser from twig