public static function convertExpression($expression)
    {
        if (is_array($expression)) {
            return array_map(['static', 'convertExpression'], $expression);
        } elseif ($expression instanceof self) {
            return $expression->getExpression();
        }

        return $expression;
    }