only create XMLSerializer if result is not an instance of it yet