Hmm this is risky. `.range` is a plain JS object, which the keyed archiver will make a best effort to encode. But it'd probably be better to convert this to something with native coding support.