Reverting #1154 (superseding #1159).
There seems to be no way to export this over the REST API without incurring serious performance penalties.