correctly fetch json files

json support in builder is pretty useless if `component install` doesn’t fetch the json files.