Convert load_json to an iterator