Add "each_cons" to json_io and lazy_io