simplified jsonize-istreams