removed JSON.parse from chunks()