resourceTypes parameter in general search should be array