Exclude valueString and attributeString properties from inclusion in XML

Update readme to reflect new behaviour
Update example.js to match readme
Add new tests
build with cherrypicked changes from the origin
fixed tests