XSerializerSerializer: Allow multiple types to be configured.