Fork me on GitHub

The simplest way to do it would probably be to wrap the output in, looks pretty ugly of course and becomes useless in clojureland. I guess it really depends on what consumes the output afterwards. Maybe that should be handled case by case. How about an additional function "transform-json-str"? Comes with the new dependency of, though. Looking at the source code of it's not trivial to generate valid JSON manually.