refactored the implementation of dump()
refactored the implementation of dump()

nicolas-grekas/Twig,twigphp/Twig,twigphp/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,twigphp/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig