code: public QueryBuilder map(String query, String method_name, Object... items) throws Exception {
          JSONObject op = new JSONObject();
          if (query != null)
              op.put(Constants.REQUEST_QUERY, query);
  
          java.util.Map<String, Object> operation = new LinkedHashMap<String, Object>();
          operation.put(Constants.REQUEST_METHOD_NAME, method_name);
  
          if (query != null)
              queryStringRepresentation += query;
  
          queryStringRepresentation += "." + method_name;
  
          operation.put(Constants.REQUEST_ARGUMENTS, buildArgsArray(items));
          op.put(Constants.REQUEST_OPERATION, operation);
  
          JSONArray operations = (JSONArray) request.get(Constants.REQUEST_OPERATIONS);
          operations.put(op);
          request.remove(Constants.REQUEST_OPERATIONS);
          request.put(Constants.REQUEST_OPERATIONS, operations);
  
          return this;
      }
docs: Used to get the return from a method call
  @param query
  @param method_name
  @param items
  @return
  @throws Exception