update some db module function to expect JSON and return an error if another mime-type is returned
update some db module function to expect JSON and return an error if another mime-type is returned

daniel-z/kanso,kanso/kanso,anaran/kanso,daniel-z/kanso,daniel-z/kanso,kanso/kanso,anaran/kanso,anaran/kanso,kanso/kanso