Fixed xml response to expected json for reposman

Implements https://www.openproject.org/issues/1536