def METHOD_NAME(self) -> dict[str, JSONValues]:
    """
    Returns the `RuleBasedProfilerResult` as a JSON-serializable dictionary.
    Returns:
        Dictionary containing only JSON compatible python primitives.
    """
    return self.to_dict()