Quiz report cleanup

Admin and system script cleanup to make the quiz reports work.
Should be ```formatCountry()```.