public String GetJobResult(String jobId) {
        
        GetJobOutputRequest getJobOutputRequest = new GetJobOutputRequest()
            .withVaultName(this.vaultName)
            .withJobId(jobId);
        GetJobOutputResult jobOutputResult = AppCache.getClient().getJobOutput(getJobOutputRequest);
    
        
        BufferedReader in = new BufferedReader(new InputStreamReader(jobOutputResult.getBody()));   
        
        FileWriter f = null;;
        try {
            File myFile = new File("lastInventory.json");
            if (myFile.exists()) {
                myFile.delete();
            }
            
            f = new FileWriter("lastInventory.json");
        } catch (IOException ex) {
        }
        
        String inputLine;
        
        String jsonOutput;
        jsonOutput = "";
        
        try {
            while ((inputLine = in.readLine()) != null) {
                jsonOutput += inputLine;
                if (f!=null) {
                    f.append(inputLine);
                }                
            }
        } catch (IOException ex) {            
        }
        if (f!=null)  {
            try {
                f.close();
            } catch (IOException ex) {

            }
        }
        return new Inventory(jsonOutput).toString();        
    }