Now logging response in json.