TODO: download *.json, and fix curl query