Test download and parse JSON