adding a refactor function - refactor.extract.propToOutput
#1526
+460
−2
refactor.extract.propToOutput
#1526