SWITCHYARD-1227: Detect exception and common XML types in serializer