static Object eval(Object properties, String expr) {
    try {
      JexlContext context = properties instanceof Map
              ? new MapContext((Map) properties)
              : JexlEngine.EMPTY_CONTEXT;
      Object result = JEXL.createScript(expr).execute(context, properties);
      return result;
    } catch (JexlException xany) {
      throw xany;
    }
  }
Performs an http client call.
@param jwt a JWT bearer token (can be null)
@param url the url to call
@param method the http method to use
@param json whether the call is application/json (true) or application/x-www-form-urlencoded (false)
@param arg the query argument
@return the (JSON) response
@throws IOException
standalone-metastore/metastore-rest-catalog/src/test/java/org/apache/iceberg/rest/HMSTestBase.java