WIP commit - rebase me.
Emit search response as an object.

And a test. Re: #20