Added json format for monitor output.
Merge pull request #146 from shaitan/master

Added json format to monitor.