The purpose of this code is to generate fully formated PDF files that shows earnings statements for a set of employees contained in a JSON file.
This code will generate "n" files, where n=number of records in the JSON file.
Please note, The purpose of this code is to showcase a use case of transforming a JSON file into formatted PDF files. Some of the content of this file has been changed in order to maintain privacy.