Move pretty printing of ast nodes to ASTNodes