Agree! So,

* let's fix JSON syntax/semantic error messages in this issue, and
* raise new issue for refactoring to solve exit()ing in everywhere