properly serialize and send data to beacon server also log progress