var2xml: formats for booleans
Boolean support refactoring