fix ag_stats for wwwadmin

This procedure used to return a list of tuples (valuename, value) and these vaulenames don't correspond to column names so this function cant use the standard dict like everything else