Eliminate extra properties from AST output