switch json library & stream downloading