[Very rudimentary json download] Needs refactoring and linking with adapter