Fixed showing statistics and wornings with json output format
Added installation section to readme file