mapper.selectProfileVersionDate(profileMeasure.getProfileId(), version), now);
}
// see format of JSON in org.sonar.batch.rule.UsedQProfiles
StringWriter writer = new StringWriter();
JsonWriter json = JsonWriter.of(writer);
json
.beginArray()
.beginObject()
.prop("key", profile.getKee())
.prop("language", profile.getLanguage())
.prop("name", profile.getName())