undelete json helpers