Fix deprecated method name in XML conversion

Needed for newer Airbrake versions (at least 3.1.12).