According to the RFC it should be possible to return XML besides JSON. The library supports only JSON for now.