expose geoip in alert detail, better iteration of sub objects in templates