fixes to pbpnba - json downloading