Add deployment-mode to json configuration