class JsonListConverter implements AttributeConverter<List, String> {

    @Override
    public List convertToEntityAttribute(final String value) {
        try {
            if (value == null) {
                return Collections.emptyList();
            }
            return serializer.readValue(value, List.class);
        } catch (final IOException e) {
            log.error("Unable to parse value to list - {}. Error - {}", value, e.getMessage(), e);
            throw new FabricManagerException(e);
        }
    }

    public  JsonListConverter();
    public  JsonListConverter(final ObjectMapper serializer);

}