thanks @ikitommi - i merged and tested, still doesn't work for me though thinking_face I'm an idiot, made a typo that stopped it working
fwiw, I've just pushed the final working version to master: https://github.com/mgrbyte/capi-spec-transforms/commit/432ed6b3011d2eda2e193a550e6e8062fe932a80
There was one additional issue, in that the (repeat json-transformer)
code I had in options passed to create-coercion
wasn't working, but fixed that easily enough.