MapReduce union-join in python