implode categories array before calling findMultipleByUid