thanks that was exactly what I needed. Here's a stripped down version of my solution
(assoc-in
[:formats "application/json" :encoder-opts]
{:encode-key-fn csk/->camelCaseString
:decode-key-fn csk/->kebab-case-keyword})
where csk is the camel-snake-kebab library