Got the ast converting to xml properly and verified it is correct