exercise-gen - make one query for all questions

Fix the exercise generation for non-root practice exercises.
Actually had to take it out because the request hangs.