In Decision/ProcessVariableQueryFilter and other places around the code base we currenty have a switch blocks that check the variable type which is a bare string.
switch (dto.getType().toLowerCase()) { case "string": ...
We should make the type strict using an enum.