return mapper.readValue(response.getEntity(InputStream.class), AssetResponse.class);
//return response.getEntity(AssetResponse.class);
} catch (LongRunningQueryException e) {
return getHttpLowLevel().getAsyncResults(e.location, e.timeToRetry, getHttpLowLevel().getMaxRetries(), AssetResponse.class, requester);
} catch (JsonMappingException e) {
throw new SodaError("Illegal response from the service.");
} catch (JsonParseException e) {
throw new SodaError("Invalid JSON returned from the service.");
} catch (IOException e) {
throw new SodaError("Error communicating with service.");
}
}