you don't need that if you change the constructor of TupleOutputFormat (see 1st comment)