modify the code of jsonTableContentHandler
Integrate the two main functions into a new main function.