write timestamp into json stations file, display it in legend