code: public static Collection<String> convertResourceTypesToStrings(
        Collection<ResourceType> resourceTypes) {
      List<String> retList = new ArrayList<String>(resourceTypes.size());
      for (ResourceType resourceType : resourceTypes) {
        retList.add(resourceType.toString());
      }
  
      return retList;
    }
docs: Convert resource types of a collection of String objects
  @param resourceTypes Collection of types to convert
  @return Collection of resource types