widgets/weather: fix segfault on HTTP request and JSON decode error