Deduplicate the resource dictionary

    This reduces files size slightly