example scanner takes json now