input json parsed and handled