The numbers pairs is maybe a bit to niche to provide in a general framework. However, my biggest problem is the making. It is not clear at all what the purpuse of that function is at all. Seeing code with that would probably not make any sense at all if you don't know exactly what the function does, and since it is so niche very few will know that at the top of their head.
they made this "pairs" method, but let's be real it's not gonna get used What we really need is a first-party JWT method. That's the kind of feature that would actually be useful!