code: function rehydrate(dehydratedString) {
      const { name, id, sourceCredentials, archiveCredentials, type, colour, order } = JSON.parse(dehydratedString);
      const source = new ArchiveSource(name, sourceCredentials, archiveCredentials, { id, type });
      source.type = type;
      if (colour) {
          source._colour = colour;
      }
      if (order >= 0) {
          source.order = order;
      }
      return source;
  }
docs: Rehydrate a dehydrated archive source
  @param {String} dehydratedString A dehydrated archive source
  @returns {ArchiveSource} The rehydrated source
  @memberof ArchiveSource
  @static