Account for SxS with a labels field

To account for duplicate labels, we used to copy the SxS. Now, we'll be adding a field which is a list of labels.

This patch works with both that strategy ("labels") as well as the old data, ("label").