A tiny bit more work; the database module really ought to export functions
that the restful endpoints modules uses to do its get/sets.