docs: public static List<String> readLines(InputStream inputStream,
              String charsetName) {
          List<String> stringList = new ArrayList<>();
          try {
              consumeInputStream(inputStream, charsetName, stringList::add);
          } catch (Exception e) {
              return JMExceptionManager.handleExceptionAndReturn(log, e,
                      "readLines", Collections::emptyList, inputStream, charsetName);
          }
          return stringList;
      }