PDF generation now dynamically pulls data from JSON objects