Fix: prevent crash when YTS request returns invalid JSON