fix bool fields in XML to work with string values