make sure to only deserialize pure-numbers as numbers