def on_json_dumps(self, json, config, dictionary, **kwargs):
return json.dumps(dictionary, **kwargs)<EOL>
The :mod:`json` dumps method.

        :param module json: The ``json`` module
        :param class config: The instance's config class
        :param dict dictionary: The dictionary instance to serialize
        :param int indent: The amount of spaces to use for indentation,
            defaults to 0, optional
        :returns: The json serialization of the given ``dictionary``
        :rtype: str