httpserver: Fix /os/dmesg output format

Output should be json formatted, according to the schema.

Signed-off-by: Or Cohen <orc@fewbytes.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>