ensured all Expression nodes have type field in json
cbugg: close bug-727