couchdbkit returns a string if the response isn't valid json. for the sake of compatibility it's probably worth doing the same