def _handle_dumps(self, handler, **kwargs):
return handler.dumps(self.__class__, to_dict(self), **kwargs)<EOL>
Dumps caller, used by partial method for dynamic handler assignments.

    :param object handler: The dump handler
    :return: The dumped string
    :rtype: str