Json offline/online check

Okay nice :smiley: