Refactor stubbing of search results

This will make changing the response format much easier.