There’s no other way to do it currently. If you needed to change it for each item in an array, then you’d need to change each array entry separately.
I do have a bug about allowing the default namespace to be set via property meta-data, but it’s currently on the backlog.