No need for PersonAttributeType, just use id, otherwise information is
repeated frequently in marshalled output; also improved unit test to use
XMLUnit.