Force /select to use format json, ie wt=json, always (no bother to remove any other wt here since solr will take the first occurence of wt)
Fix, debug should be string (see docs). Adding also indent=true when doing debug. debug=true <===> debugQuery=on