ENG-7197: update deployment via JSON

REVIEW only
All code from Old code will check why friendly exception handling is there and refactor.