try {
if (!(msg.getFields().get(targetField) instanceof String)) {
continue;
}
if (!converter.buildsMultipleFields()) {
<BUG>Object converted = converter.convert((String) msg.getFields().get(targetField));
</BUG>
msg.removeField(targetField);
msg.addField(targetField, converted);
} else {

try {
if (!(msg.getFields().get(targetField) instanceof String)) {
continue;
}
if (!converter.buildsMultipleFields()) {
final Object converted = converter.convert((String) msg.getFields().get(targetField));
msg.removeField(targetField);
msg.addField(targetField, converted);
} else {
