Fix json missing comma, and update generated api
Merge pull request #279 from HackFisher/master

Fix json missing comma, and update generated api