Stricter typing of the setProperties data

Caught my attention while comparing current ops with those new in 674

No errors seen or caught, but might prevent future ones.

Added a TODO explicitely which so far was only in my bad conscience... :innocent: