code: def load_baseline_from_string(cls, string):
          
          try:
              return cls.load_baseline_from_dict(json.loads(string))
          except (IOError, ValueError):
              log.error('Incorrectly formatted baseline!')
              raise
docs: Initializes a SecretsCollection object from string.
  
          :type string: str
          :param string: string to load SecretsCollection from.
  
          :rtype: SecretsCollection
          :raises: IOError