Fixed input, now proper (json/write-str ...)
imporved html