private @NotNull Collection<ConsentAttributes> fromJson(@Nullable String json) {
    if (json == null || json.isEmpty()) {
      return Collections.emptyList();
    }

    try {
      List<ConsentAttributes> data = ConsentAttributes.Companion.readListFromJson(json);
      for (ConsentAttributes attributes : data) {
        attributes.consentId = lookupConsentID(attributes.consentId);
      }
      return data;
    }
    catch (Throwable e) {
      LOG.info(e);
    }
    return Collections.emptyList();
  }
private @NotNull Collection<ConsentAttributes> fromJson(@Nullable String json)