turn objs into pairs of join key and obj