Creating Pdf Using Python Dictionaries