use fs to remove item from json file