adds JSON for courses