TEZ-1424. Fixes to DAG text representation in debug mode  (Rajesh Balamohan)