ENG-4236 added safe mode recovery support to VEM Rest