seTypeObj = newTemplateSettings.reverse[oldData.type + 's'];
        realIndex = reverseTypeObj.findIndex(r => r.tag == oldData.tag && r.domain == oldData.domain);
        newTemplateSettings.reverse[oldData.type + 's'].splice(realIndex, 1);

        // delete empty objects
        if (reverseTypeObj.length == 0) Reflect.deleteProperty(newTemplateSettings.reverse, oldData.type + 's');
        if (Object.keys(newTemplateSettings.reverse).length === 0) Reflect.deleteProperty(newTemplateSettings, 'reverse');

