Extract method that parses raw response from groonga
Fix where to make stub