PLFM-2763
Merge pull request #1275 from brucehoff/PLFM-2763

PLFM-2763
Merge pull request #1274 from marcel-blonk/PLFM-2703

factor out translation of booleans