fix twig module to allow params passed to array