I found a way to set the soundmode via API, use this command:
{
"commands":[
{
"component":"main",
"capability":"execute",
"command":"execute",
"arguments":[
"/sec/networkaudio/soundmode",
{
"x.com.samsung.networkaudio.soundmode":"standard"
}
]
}
]
}