Fixed crash when received JSON is null