get data outputs list of jsons