docs: @SuppressWarnings("unchecked")
      private List<String> operations(Map<String, Object> ops) {
          List<String> result = new LinkedList<>();
          for (String operation : ops.keySet()) {
              Object operationOrListOfOperations = ops.get(operation);
              List<Map<String, Object>> toStringify;
              if (operationOrListOfOperations instanceof List) {
                  toStringify = (List<Map<String, Object>>) operationOrListOfOperations;
              } else {
                  toStringify = Collections.singletonList((Map<String, Object>) operationOrListOfOperations);
              }
              for (Map<String, Object> op : toStringify) {
                  List<Map<String, String>> args = (List<Map<String, String>>) op.get("args");
                  result.add(operation + "(" + argsToString(args) + ")");
              }
          }
  
          return result;
      }