private function getDictionaryOverrides(array &$data): array
    {
        $overrides = [];
        foreach (['source_language', 'target_language'] as $key) {
            if (array_key_exists($key, $data)) {
                $overrides[$key] = $data[$key];
                unset($data[$key]);
            }
        }

        return $overrides;
    }