example scanner takes json now, shorter alert