Webfinger XML not JSON on Pleroma
I'm setting up a new pleroma server, and one of the tests I am trying is a remote follow on a Mastodon instance. Remote follows with Mastodon don't work, and it seems in part because Mastodon is expecting a JSON response from my server's webfinger (part of Pleroma) per the RFC for WebFinger (https://www.rfc-editor.org/rfc/rfc7033.html). However, Pleroma's Webfinger returns XML, which isn't expected, standard, or accepted.
How can Pleroma's WebFinger service be setup to return JSON and not XML?
Thanks,
Erik