Support serialization of objects that return a single string from __reduce__().

This allows us to serialize module globals, especially interfacaes and
classes.