code: private Map<String, String> processCommandExecutionResponse(Map<String, String> receiveResult) throws ParserConfigurationException, SAXException, XPathExpressionException, IOException {
          Map<String, String> scriptResults = new HashMap<>();
          scriptResults.put(RETURN_RESULT, buildResultFromResponseStreams(receiveResult.get(RETURN_RESULT), OutputStream.STDOUT));
          scriptResults.put(Constants.OutputNames.STDERR, buildResultFromResponseStreams(receiveResult.get(RETURN_RESULT), OutputStream.STDERR));
          scriptResults.put(Constants.OutputNames.SCRIPT_EXIT_CODE, WSManUtils.getScriptExitCode(receiveResult.get(RETURN_RESULT)));
          return scriptResults;
      }
docs: This method separates the stdout and stderr response streams from the received execution response.
  
  @param receiveResult A map containing the response from the service.
  @return a map containing the stdout, stderr streams and the script exit code.
  @throws ParserConfigurationException
  @throws SAXException
  @throws XPathExpressionException
  @throws IOException