update workflow json representation and make operation->node changes