pig commands to flatten the data set into single tuples