Python Create Json File And Write Into Pdf