Thank you Esteban - that's exactly what I'm doing now. Generating the index in JSON format and then manually translating it to XML.
It's very inconvenient and prone to human error. Since I (and likely others) would greatly prefer a working tool, then I will raise an issue on that link that you shared - appreciate your help!