ENG-7197: update deployment via JSON

REVIEW only
Sure...OLD code will refactor that too.