code: function reduceBundle(bundle) {
    const field = memberField(bundle)
    const set = bundle[field] ? reduceSet(bundle[field]) : []
    return {
      [set.length > 1 ? field : "memberSet"]: set.map(uri => ({uri}))
    }
  }
docs: Reduce JSKOS concept bundle to memberSet/List/Choice with member URIs only.