Switch item behaves differently in UI and config files

I am transferring from UI configured MQTT items to config file based, and while changing an item I noticed that the UI configuration configures switches to send ON/OFF but the config files sends 1/0.

Is this intentional?
And if not, what is the expected behaviour?

My thing file is:
Type switch : power “Power” [ stateTopic=“home/br/sb/luminara”, commandTopic=“home/br/sb/luminara” ]

Same result on 2.4 stable and 2.5-m1.1