def METHOD_NAME(self):
    """Returns a json version of the search object."""
    json_self = {
        "search": {
            "type": type(self).__name__,
            **get_init_params_as_json(self),
        },
        "calls": self._call_args,
    }
    return json_self