'Parses json body listing and decrypt encrypted entries. Updates
Content-Length header with new body length and return a body iter.'

def process_json_resp(self, key, resp_iter):

    with closing_if_possible(resp_iter):
        resp_body = ''.join(resp_iter)
    body_json = json.loads(resp_body)
    new_body = json.dumps([self.decrypt_obj_dict(obj_dict, key) for obj_dict in body_json])
    self.update_content_length(len(new_body))
    return [new_body]
