Collection<ConsentAttributes> (@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(); }