Perhaps enforce unicode? ``info_options = {u'id': obj_id}``