function convertToDTCG(dictionary, opts) {
  // making a copy, so we don't mutate the original input
  // this makes for more predictable API (input -> output)
  const copy = structuredClone(dictionary);
  recurse(copy, opts);
  return copy;
}
@param {DesignTokens} dictionary
@param {{applyTypesToGroup?: boolean}} [opts]