docs: def _sendResult(self, result):
          """ Send parseable json result of command. """
          # logger.debug("Result: %s", result)
  
          try:
              result = json.dumps(result)
          except Exception as error:
              result = json.dumps(self._errorInfo(command, error))
  
          sys.stdout.write(result)
          sys.stdout.write("\n")
          sys.stdout.flush()