don't generate TypeErrors for Marshal.dump