fetch a single compound and return in json