Serialized Attributes - Bugfix

- Fixes issue where XML character would be passed unencoded into attribute values, causing breakage