fix ensure => latest to work, and not rely on parsing free formatted text output (use JSON instead)
now latest works when the npm module has not yet been installed