fixed request_id and added to pretty.py as well

Needed to change the way we use the request_id in the loop since it's no longer a dict. Also added this optimization to pretty as well. :)