old_contents: import importlib
  
  from indy_node.__metadata__ import __version__ as node_pgk_version
  from plenum.server.validator_info_tool import none_on_fail, \
      ValidatorNodeInfoTool as PlenumValidatorNodeInfoTool
  
  
  class ValidatorNodeInfoTool(PlenumValidatorNodeInfoTool):
  
      @property
      def info(self):
          info = super().info
          info['metrics']['transaction-count'].update(
              config=self.__config_ledger_size
          )
          info.update(
              software={
                  'indy-node': self.__node_pkg_version,
                  'sovrin': self.__sovrin_pkg_version,
              }
          )
          return info
  
      @property
      @none_on_fail
      def __config_ledger_size(self):
          return self._node.configLedger.size
  
      @property
      @none_on_fail
      def __node_pkg_version(self):
          return node_pgk_version
  
      @property
      @none_on_fail
      def __sovrin_pkg_version(self):
          return importlib.import_module('sovrin').__version__
  
new_contents: import importlib
  
  from indy_node.__metadata__ import __version__ as node_pgk_version
  from plenum.server.validator_info_tool import none_on_fail, \
      ValidatorNodeInfoTool as PlenumValidatorNodeInfoTool
  
  
  class ValidatorNodeInfoTool(PlenumValidatorNodeInfoTool):
  
      @property
      def info(self):
          info = super().info
          if 'Node_info' in info:
              if 'Metrics' in info['Node_info']:
                  info['Node_info']['Metrics']['transaction-count'].update(
                      config=self.__config_ledger_size
                  )
          if 'Software' in info:
              info['Software'].update(
                  {
                      'indy-node': self.__node_pkg_version,
                      'sovrin': self.__sovrin_pkg_version,
                  }
              )
          return info
  
      @property
      @none_on_fail
      def __config_ledger_size(self):
          return self._node.configLedger.size
  
      @property
      @none_on_fail
      def __node_pkg_version(self):
          return node_pgk_version
  
      @property
      @none_on_fail
      def __sovrin_pkg_version(self):
          return importlib.import_module('sovrin').__version__
  
subject: Add new dict format into node validator-info