Added support for JSON request and PDF generation