changes the reducer and added nokeyoutputformat