fix bool fields in XML to work with string values

Fix bool fields in XML so they accept Boolean values in string format. Strings are the only way to pass value to macros and templates.