cmd/bosun: handle json encoding errors
cmd/bosun: handle json encoding errors

fixes #672

cazacugmihai/bosun,eMerzh/bosun,briantist/bosun,youngl98/bosun,dieface/bosun,bosun-sharklasers/bosun,objStorage/bosun,yyljlyy/bosun,cyngn/bosun,dbirchak/bosun,gregdel/bosun,influxdata/bosun,couchand/bosun,fisdap/bosun,mathpl/bosun,briantist/bosun,briantist/bosun,treejames/bosun,cazacugmihai/bosun,CheRuisiBesares/bosun,couchand/bosun,TrentScholl/bosun,dimamedvedev/bosun,cyngn/bosun,bosun-sharklasers/bosun,GROpenSourceDev/bosun,trigrass2/bosun,csmith-palantir/bosun,melifaro/bosun,mathpl/bosun,vitorboschi/bosun,dbirchak/bosun,TrentScholl/bosun,SlashmanX/bosun,treejames/bosun,madhukarreddy/bosun,GROpenSourceDev/bosun,mnikhil-git/bosun,couchand/bosun,jareksm/bosun,inkel/bosun,seekingalpha/bosun,mnikhil-git/bosun,SlashmanX/bosun,Skyscanner/bosun,objStorage/bosun,snowsnail/bosun,mnikhil-git/bosun,fisdap/bosun,youngl98/bosun,fisdap/bosun,inkel/bosun,objStorage/bosun,trigrass2/bosun,mhenderson-so/bosun,seekingalpha/bosun,evgeny-potapov/bosun,eMerzh/bosun,cazacugmihai/bosun,snowsnail/bosun,seekingalpha/bosun,madhukarreddy/bosun,augporto/bosun,alienth/bosun,TrentScholl/bosun,gregdel/bosun,madhukarreddy/bosun,couchand/bosun,azhurbilo/bosun,dbirchak/bosun,leapar/bosun,mathpl/bosun,csmith-palantir/bosun,mxk1235/bosun,shanemadden/bosun,mxk1235/bosun,vitorboschi/bosun,cyngn/bosun,bridgewell/bosun,jareksm/bosun,shanemadden/bosun,yyljlyy/bosun,cazacugmihai/bosun,bridgewell/bosun,dbirchak/bosun,bosun-monitor/bosun,mehulkar/bosun,influxdata/bosun,eMerzh/bosun,yyljlyy/bosun,mathpl/bosun,shanemadden/bosun,dimamedvedev/bosun,TrentScholl/bosun,snowsnail/bosun,augporto/bosun,couchand/bosun,bridgewell/bosun,bosun-monitor/bosun,augporto/bosun,mxk1235/bosun,snowsnail/bosun,youngl98/bosun,treejames/bosun,bosun-monitor/bosun,bosun-monitor/bosun,mehulkar/bosun,dieface/bosun,objStorage/bosun,bosun-sharklasers/bosun,jareksm/bosun,azhurbilo/bosun,fisdap/bosun,SlashmanX/bosun,yyljlyy/bosun,madhukarreddy/bosun,evgeny-potapov/bosun,jareksm/bosun,evgeny-potapov/bosun,inkel/bosun,objStorage/bosun,mehulkar/bosun,cyngn/bosun,snowsnail/bosun,bosun-sharklasers/bosun,mathpl/bosun,bridgewell/bosun,CheRuisiBesares/bosun,noblehng/bosun,CheRuisiBesares/bosun,SlashmanX/bosun,briantist/bosun,Skyscanner/bosun,dieface/bosun,treejames/bosun,gregdel/bosun,yyljlyy/bosun,TrentScholl/bosun,treejames/bosun,augporto/bosun,influxdata/bosun,madhukarreddy/bosun,simnv/bosun,mhenderson-so/bosun,influxdb/bosun,seekingalpha/bosun,bosun-monitor/bosun,influxdb/bosun,influxdata/bosun,cyngn/bosun,dbirchak/bosun,evgeny-potapov/bosun,mxk1235/bosun,inkel/bosun,treejames/bosun,seekingalpha/bosun,CheRuisiBesares/bosun,bookingcom/bosun,fisdap/bosun,inkel/bosun,inkel/bosun,csmith-palantir/bosun,dieface/bosun,SlashmanX/bosun,Skyscanner/bosun,influxdata/bosun,influxdb/bosun,GROpenSourceDev/bosun,leapar/bosun,SlashmanX/bosun,mxk1235/bosun,mnikhil-git/bosun,bookingcom/bosun,bosun-sharklasers/bosun,melifaro/bosun,jareksm/bosun,bookingcom/bosun,alienth/bosun,dimamedvedev/bosun,trigrass2/bosun,dimamedvedev/bosun,azhurbilo/bosun,eMerzh/bosun,gregdel/bosun,eMerzh/bosun,mathpl/bosun,noblehng/bosun,alienth/bosun,dieface/bosun,leapar/bosun,leapar/bosun,csmith-palantir/bosun,simnv/bosun,briantist/bosun,mnikhil-git/bosun,CheRuisiBesares/bosun,noblehng/bosun,melifaro/bosun,dimamedvedev/bosun,briantist/bosun,simnv/bosun,gregdel/bosun,fisdap/bosun,augporto/bosun,cazacugmihai/bosun,bosun-sharklasers/bosun,gregdel/bosun,bridgewell/bosun,seekingalpha/bosun,melifaro/bosun,jareksm/bosun,dbirchak/bosun,trigrass2/bosun,snowsnail/bosun,mehulkar/bosun,mhenderson-so/bosun,bridgewell/bosun,shanemadden/bosun,influxdb/bosun,trigrass2/bosun,vitorboschi/bosun,yyljlyy/bosun,mhenderson-so/bosun,augporto/bosun,youngl98/bosun,CheRuisiBesares/bosun,csmith-palantir/bosun,alienth/bosun,shanemadden/bosun,dimamedvedev/bosun,influxdb/bosun,mnikhil-git/bosun,shanemadden/bosun,csmith-palantir/bosun,vitorboschi/bosun,influxdata/bosun,madhukarreddy/bosun,bookingcom/bosun,couchand/bosun,simnv/bosun,vitorboschi/bosun,mhenderson-so/bosun,Skyscanner/bosun,bookingcom/bosun,TrentScholl/bosun,noblehng/bosun,GROpenSourceDev/bosun,bookingcom/bosun,leapar/bosun,mhenderson-so/bosun,eMerzh/bosun,bosun-monitor/bosun,mehulkar/bosun,objStorage/bosun,alienth/bosun,youngl98/bosun,vitorboschi/bosun,cazacugmihai/bosun,GROpenSourceDev/bosun,simnv/bosun,azhurbilo/bosun,trigrass2/bosun,evgeny-potapov/bosun,azhurbilo/bosun,dieface/bosun,evgeny-potapov/bosun,mehulkar/bosun,leapar/bosun,melifaro/bosun,GROpenSourceDev/bosun,mxk1235/bosun,noblehng/bosun,noblehng/bosun,Skyscanner/bosun,influxdb/bosun,Skyscanner/bosun,simnv/bosun,youngl98/bosun,alienth/bosun,azhurbilo/bosun,cyngn/bosun,melifaro/bosun