Bugfix: ParseXML is called statically

Default format is XML, but after switching to JSON this error fired up.
Merge pull request #1 from denvers/master

Bugfix: ParseXML is called statically