Fix a marshal.dump issue
Store the name of the collected class, not a pointer to the class itself.