fix malformed JSON on days without commits in the combined view

fix new-line not being escaped in hg template (it still worked somehow)

(0) -30 -10 -2 +2 tip

mercurial