modify deserialize function of FunctionExpression and fix tests of String UDF (#6893)