code: public static Object unmarshall(HttpResponse response) throws JAXBException, IOException {
          String xml = EntityUtils.toString(response.getEntity());
          Unmarshaller unmarshaller = ctx.createUnmarshaller();
          return unmarshaller.unmarshal(new StringReader(xml));
      }
docs: Unmarshalls the input stream into an object from org.yestech.episodic.objectmodel.
  
  @param response the response
  @return The unmarshalled object.
  @throws javax.xml.bind.JAXBException Thrown if there are issues with the xml stream passed in.