Pass data to Twig template correctly