Replace key with id in appconfig.json