Fix json template escape quotes
Place Deploy exception back when cannot install dependencies