DRY'd up processing string result from HttpClientResponse