adding printing of full node details to .ast file