I've managed to solve it with https://github.com/ngrunwald/ring-middleware-format replacing the wrap-json-params
wrap-json-params