Yeah you could manually build the object with the babel-types methods like `t.identifier('a')` or use babel-template https://github.com/babel/babel/tree/master/packages/babel-template and then use `path.replaceWith` 