Support both html and json output for statuses
Merge pull request #5 from sosedoff/json-endpoint

Support both html and json output for statuses