Adding element attr to application/xml mediaType