dataToPersist.put("lastmodifiedby", item.getLastContributor());
dataToPersist.put("lastmodifieddate", item.getLastModified());
List<CategoryItem> lstCategoryItem = item.getCategories();
List<String> lstCategoryName = new ArrayList<String>();
for(int i=0;i<lstCategoryItem.size();i++){
CategoryItem ci = lstCategoryItem.get(i);
lstCategoryName.add(ci.getName());
}
//List of Strings
dataToPersist.put("category", lstCategoryName);
if (rm.attributes.length > 0) {
HashMap attributesToPersist = new HashMap();