first working version of local save system via entity system, using rapidjson from cocos.