Used the Json Parser from cocos-ext rather than custom