Improved handling of request service in twig extension