So they used an ai trained on the original source code to "rewrite" the original source code.
It was trained on the two existing open source Go implementations of JSONata.