It turns out that the old, non-dict version of maparg() returns the mapped rhs with "" already translated to the appropriate "(number)_" string, while the "rhs" member of the dict version of maparg() does not. So I'm always using the non-dict version to get the mapped rhs, so that we can properly restore mappings with in the rhs.
It turns out that the old, non-dict version of maparg() returns the mapped rhs with "" already translated to the appropriate "(number)_" string, while the "rhs" member of the dict version of maparg() does not. So I'm always using the non-dict version to get the mapped rhs, so that we can properly restore mappings with in the rhs.