Add JSON header at the top of output.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>