def METHOD_NAME(self, **kwargs):
    kwargs["by_alias"] = True
    # FIXME: Pydantic>1.8 doesn't recognize json_encoders without this update
    self.__config__.json_encoders.update(GMSOJSONHandler.json_encoders)
    return super(GMSOBase, self).METHOD_NAME(**kwargs)