Use getObject on types not supporting getString
- getObject on numbers
- getString on everything else