daemon/logs: avoid JSONLog struct alloc in loop

This PR avoids allocating a new JSONLog struct in a for loop. I've sent this PR because I had this show up with 189 MB of memory for a torture test.
I am pretty sure that `job.Stdout.Write([]byte(logLine))` will be better, because `Fprintf` do this anyway but after very complicated things(like scanning format string and other).