Added option to support using hadoop serialization and for serializing a
full tuple instead of just the first field of the tuple.