receive and parse the JSON successfully