A JSON API for the DND.