correctly fetch json files
Merge pull request #431 from Swatinem/json

correctly fetch json files