It is an object.

By bad stuff, you mean add a hasOwnProperty here? Is there anything else needed?

Also, not sure what you mean by what are we looking for here. We're going through the search params and pushing them into the search api.

This won't be a problem or needed at all if this lands: https://bugzilla.mozilla.org/show_bug.cgi?id=863411

That would allow us to search using an object, and not search using chainable function calls.