ENG-7197: update deployment via JSON

REVIEW only
Old code not sure why this friendly exception handling is there.