add ast2dict builder