Resolving xstream bug