>> (json-write-line obj [port])
>
> The code seems easy with the current implementation, but it might be
> better to provide a helper for that.
It's usually not hard to do by adapting a normal JSON writer, but that
causes worry about "am I sure that I used the right options?" :)