jsoncpp adapted for cocos2dx