prefs.db.get and prefs.async.db.get fix

* Fixed issue where db value containing all numbers is returned as a number
  instead of a string.