o.c.scan: Allow SetCommand (and Loop) to write numbers as strings

Fixes #465