Refactored NestCredentials

Object is now populated using JsonConvert.DeserializeObject