For #410 - fixed an issue with dumping json using esprit. Changed the delete to be issued by query.
Merge pull request #474 from DOAJ/feature/410_delete_script_fix

For #410 - fixed an issue with dumping json using esprit. Changed the de...