Fixed search API to handle JSON encoded lists for country codes, tags, keywords, and categories