download as json
autocompletion started (no working yet)