Fixed XML attribute serialization. 79/196 tests failing