updated gatekeeping for potential NULL JSON values
POI popover for more details