Update AST to take advantage of the new dependency JSON.  This simplifies some logic and lets more bindings be one way.