Finished implementing functionality to retrieve and serialize contents to a JSON file