Yeah if you do CouchModel.get_db() it's just a database object. CouchModel.view() will try to wrap them which will get confused when you just want to work with the raw json