fixed bug in conversion from ndb key to urlsafe
also fixed conversion error where integerValues coming from the api were actually strings, dont know why someone would do that