fix issue #37

if coerce is true, xml2json will parse the attributes value from string
to number or boolean. So, when convert json to xml, we need test the
value type for string, number and boolean.
Merge pull request #60 from idy/issue-37

fix issue #37