I fixed this by writing a new Decoder class. Not sure whether this is the best way, but looks like its THE way;)
public class NameStringDecoder implements DataDecoder {
@Override
public Object decode(String customerName) throws DataDecodeException {
return "Richard";
}
}