Collapsing down UV sets to work in UR?

I am currently painting textures in Mari using facesets. How can I get the uv’s to be collapsed down to work in UR? Is there a script I can download for this?

Thanks!
Sabrina