item.ngid already replaces the dots with underscores, so no need to use getID() here.  See IPAddressesJsonView in views/ipaddresses.py