logs: output real JSON when --raw is specified
Merge pull request #489 from klaemo/master

logs: output real JSON when --raw is specified