Error catch added for when invalid JSON is returned (when the servers are down)