XML serializing fix for associative arrays