class VerifiedAttributesLogger {

    public static String formatAttributes(
        String issuer,
        LevelOfAssurance levelOfAssurance,
        List<Attribute> attributes
    ) throws JsonProcessingException {
        AttributeStatementLogData attributeStatementLogDto = new AttributeStatementLogData(
            issuer,
            levelOfAssurance,
            getAttributesData(attributes)
        );
        return new ObjectMapper().writeValueAsString(attributeStatementLogDto);
    }

}