private string FormatComparisonExpression(IFilterTree tree)
        {
            var attributeText = tree.GetChild(0).Token.Value;
            var operatorText  = TokenMappings.TokenTypeToLegacyValueMap[tree.Token.Type];

            var contentText = TokenMappings.IsListOperation(tree.Token)
                                ? FormatValueList(tree.GetChild(1))
                                : FormatValue(tree.GetChild(1));

            return($"{attributeText} {operatorText} [{contentText}]");
        }