XML representer fix

Now attributes which have no associated mapping do no longer raise an
AttributeError.