code: protected JsonObject argumentsToJson() {
      JsonObject result = new JsonObject();
      for (Argument a : _arguments) {
        if (a.specified())
          result.addProperty(a._name,a.originalValue());
      }
      return result;
    }
docs: Returns a json object containing all arguments specified to the page.
  
  Useful for redirects and polling.