Rebuild a new abstract syntax tree from Python's ast