Thank you very much! this seems indeed to work as expected.
Ah yes, that’s a good idea. I don’t see an obstacle to making literals_swapper
public, but I just need to think a bit about it, and also how to call it (maybe the current name is fine though).