added get category name function to documentItem