convert ASTs between Shift and SpiderMonkey formats