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

kanso/underscore,kanso/underscore