object xml handles none values correctly