Add value check for all properties expecting numbers

No conversion except rounding, since converting other types to numbers
isn't quite as trivial as with booleans and strings. It's likely not
worth the effort and more likely covering up critical problems.

Change-Id: I023733794da6fd3212fd690ffe99a5c19d7cd1b6