Change delete route to accept a set of URIs as a JSON post request
Fix warnings, cleanup