Renamed csrfParam back to csrfVar for consistency.
yii\mongodb\Collection::mapReduce() fixed to handle 'inline' output correctly.