introducing intermediate step for restructuring ast for dumping c code