added persistence to config.json to change persistence mechanisms