def METHOD_NAME(self):
    meta = self._meta
    # hard coded serialization of analyzers in _all
    if "_all" in meta:
        meta = meta.copy()
        _all = meta["_all"] = meta["_all"].copy()
        for f in ("analyzer", "search_analyzer", "search_quote_analyzer"):
            if hasattr(_all.get(f, None), "to_dict"):
                _all[f] = _all[f].METHOD_NAME()
    meta.update(self.properties.METHOD_NAME())
    return meta