We need to add support for schema-aware flattening of field groups when we insert a new value, and the reverse "unflattening" mapping for selectors.