Fixing json download issue (issue #2).