Created cleaner for search_response object.
Added some error handling.