What about two sollutions: override standard Twig's dump function for immediately output as now and tag for collect?