Query returns countries object in json