Fix search

Handle search failure from AdeptHub; output the error message; actually extract the results from JSON parsing.