Change delete route to use live/draft keys in json