You're right, I had for some reason been conflating the fully rendered sitemaps with the mapping that we're actually storing here. If I had stopped to think for a minute about whether it was a real problem before thinking about solutions, I would have saved us both some time. Sorry about that.