convert to array as single categories are not returned as array but as string