Since I do not know the data he stores, and in which way (model), I can not comment on this. This is why I asked.
If I'd be to do something similar (actually, I do) I'd use an XML (document) backend, like eXist or BaseX along with XSLT, XQuery and REST.