modification details:
1. added third party for easy json save and write
2. added static methods to convert object to json files and read json files back to object.