Yea, as mentioned in another comment, the params array is to support path parameters in the /api/search/* namespace. The only way to represent path parameters is through an array of strings, really. I forgot to change docs here when I made that change.