// System.out.println(new String(GZIP.inflate(data), UTF8));
try {
XMLStreamReader xmlr = ResponseUnmarshaller.createReader(new InputStreamReader(new GZIPInputStream(new ByteArrayInputStream(data)), Charset.forName("UTF-8")));
ResponseUnmarshaller responseUnmarshaller = new ResponseUnmarshaller(store, xmlr);
responseUnmarshaller.skip();
if (!"result".equals(xmlr.getLocalName())) {
throw new DespotifyException("Expected document root to be of type <result>");
}
Result result = responseUnmarshaller.unmarshallSearchResult();