I have a python function which sends post requests with following payload:
    payload = json.dumps({
        "id": article_id,
        "hasNativeAds": False,
        "commentsFlagState": "on",
        "delayedPublicationFlagState": "on",
        "requestedPublishTime": "2024-11-28T05:46:50.000Z",
        "visibleComments": "visible",
        "visibilityType": "all",
        "articleContent": {
            "contentState": "{\"blocks\":[{\"key\":\"d2819\",\"text\":\"\",\"type\":\"atomic:image\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{\"image\":{\"id\":\"670ca070b4c8467ea80614be\"}}},{\"key\":\"d9pi8\",\"text\":\"Текст новости 1. Добавка чееек\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}},{\"key\":\"8i288\",\"text\":\"Текст новости 2. Добавка 2 чееек\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}},{\"key\":\"3tubb\",\"text\":\"Тэги #формула1 #ф1 #гонки\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}},{\"key\":\"8i288\",\"text\":\"Текст новости 3. Добавка 3 чееек\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}},{\"key\":\"o13jk\",\"text\":\"Текст новости 4. Добавка 4 чееек\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}"
        },
        "tagsInput": {
            "tags": [
                "тесттэгов1",
                "тесттэгов2",
                "тесттэгов3"
            ],
            "detectedTagsShown": True
        },
        "fp": "{\"f\":\"OD3B89Bls3lynWesH8N1YNq3fPnVx0ir9k+x9OUMhTSzHv5/eL8r8lbioCBaJHjqTS7EpEhaAAll/EuqoXv+Y289wfPQZbF5cp1nrB/DNWCft2H5tMctq+VPrfTwDMY0rR7+fyO/PfIz4vUgFyRt6lQujKQ6WhwJJfxaqvp78mMmPY3znGXXeQOdc6x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cdyq7lP7fSzDMY0rR7+fzq/PPIz4vUgFyRv6lMuzqQFWjkJf/wKqqN7/mM5PdDzk2W4eXKdE6xSw3Ng/bc0+ebHeau1T//0qwyBNMQern8wv2byY+LtIBkkPepXLoOkUlprCT38Bqq5e/Jjcz3B88xl;1\",\"pgrdt\":\"YPJlTMUV3v+LsK6LWvEjyR3k3V4=;2\",\"pgrd\":\"1FMmf61NIO4fyd728QUbkgu6tiFsRXUJQJ3BfHwbE0yv9EPx5lGoDcSEoUPPdtcTjbkVFeWWbQMVUZ89fU15akkejRTPCwjFTEGrixy7dawRKpt2R66cVba/9cCE9om2E8IemZa6/W0ULH9111QJRs0q09HuVbIfqkN9wwsG2YcSaJEBuleNSf6kqT4iF4tEfVRWFLGVu6gp2gj0cblAzKs2mzk=\"}"
    })

I want to put some variables to parameter "contentState". For example instead of "Текст новости 2. Добавка 2 чееек" I want to put there string variable "kokor". How to do it?