Yes, I am thinking it would be good to have a way to generate some reversed URLs from core ployst that could be used from here and JS. Maybe an offline task that dumps some JSON?