code: public List<String> getOutPorts() {
      List<String> ports = new ArrayList<>();
      JsonObject jsonPorts = config.getObject("ports");
      if (jsonPorts == null) {
        return ports;
      }
      JsonArray jsonOutPorts = jsonPorts.getArray("out");
      if (jsonOutPorts == null) {
        return ports;
      }
      for(Object jsonOutPort : jsonOutPorts) {
        ports.add((String) jsonOutPort);
      }
      return ports;
    }
docs: Returns a list of output ports defined by the module.
  
  @return A list of output ports defined by the module.