As you've discovered, all dimensions (props, eVars, etc) are always stored as strings. That is just how Adobe Analytics has been built, and there is no way around it. Even a date that you track as "2023-09-19" will get interpreted by Adobe Analytics as the string "2023-09-19" and not the date 19 Sep...