don't completely crash on json parse error. send user agent to github because they now require it