code: private static JsonArray getJsonArray(List<String> keys) {
          JsonArray array = new JsonArray();
          for (String key : keys) {
              array.add(key);
          }
  
          return array;
      }
docs: Gets the Json Array representation of the given list of strings.
  @param keys List of strings
  @return the JsonArray represents the list of keys