draws json lines