code: @Beta
    public Map<String, String> getAlert() {
      HashMap<String, String> toReturn = new HashMap<>();
      toReturn.put("text", getAlertText());
      return Collections.unmodifiableMap(toReturn);
    }
docs: Used for serialising. Some of the drivers return the alert text like this.