fix processing of values consisting only of spaces

a value consisting of only spaces should be processed as a string, not a number