Replace deprecated method to new one

In Mojolicious 4.77, to_xml method is deprecated and
in 4.98, it was completely removed from source tree.
So humane plugin cannot passed the test with Mojolicious 4.98.
This patch fixes the failed test.
Merge pull request #2 from keedi/feature/fix-for-mojolicious-4.98

Replace deprecated method to new one