Applied $config:resource-mode and $config:collection-mode variables for
MODS records.

References #515.