making close indempotent
was missing OffsetType and LabelSet in the module
adding an optional "value" field to Offsets for debugging; mmaking ContentItem.labelsets an array instead of map; improving comments.