fix bool fields in XML to work with string values
Merge pull request #4 from dataxu/dev-bool_fix

fix bool fields in XML to work with string values