Add ability to marshal JIDs as XML attributes