code: @Override
      public Object[][] getDataByKeys(String[] keys) {
          logger.entering(Arrays.toString(keys));
          Object[][] obj = new Object[keys.length][1];
  
          for (int i = 0; i < keys.length; i++) {
              obj[i][0] = getSingleExcelRow(getObject(), keys[i], true);
          }
          logger.exiting((Object[]) obj);
          return obj;
      }
docs: This function will use the input string representing the keys to collect and return the correct excel sheet data
  rows as two dimensional object to be used as TestNG DataProvider.
  
  @param keys
  the string represents the list of key for the search and return the wanted row. It is in the format of
  {"row1", "row3", "row5"}
  @return Object[][] two dimensional object to be used with TestNG DataProvider