refactored to use JsonHttpResponseHandler