Added JsonFormatter with several output options

Hi, i've added simple JsonFormatter with several formatting options for possible future use.