@Override
    public Map<String, AccountRegistrationProperty> load() {
        return Unchecked.supplier(() -> {
            try (val reader = new InputStreamReader(resource.getInputStream(), StandardCharsets.UTF_8)) {
                val personList = new TypeReference<Map<String, AccountRegistrationProperty>>() {
                };
                return MAPPER.readValue(JsonValue.readHjson(reader).toString(), personList);
            }
        }).get();
    }
This is {@link DefaultAccountRegistrationPropertyLoader}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-account-mgmt-core/src/main/java/org/apereo/cas/acct/DefaultAccountRegistrationPropertyLoader.java