return json search result for books