[TwigBridge] add Twig dump() function + tests and fixes