XWIKI-10040: XAR export is failing if one of the document properties has a null value
* looks cleaner like that after all

(cherry picked from commit d0295b8adb01e3c22d3be2ecaab4e240d89f2156)