add twig extension for collection component