Add json formatter.
Merge pull request #56 from i0rek/json_formatter

Add json formatter.