dump-ast: include the cursor hash in the output