String charts = StringUtils.EMPTY;
try {
objectMapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
charts = objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(contractCostLineDto);
} catch (JsonProcessingException e) {
log.error("fail to write contractCostLineDto {} to string", contractCostLineDto);
e.printStackTrace();
}