FIX Use strings for type keys

The problem here is that doing a search.json?type=x causes the pagination to use ?type[0]=x which causes no results, as there is no handling of type being an array.