save/reset function, level id from json request