Print/export Hotspot user data

Hey guys, Currently we set up an internet cafe with the use of the hotspot feature, currently its relatively easy (but tedious) to copy a username and the time it was active.
I want to know if its possible to Print/export a file that contains the Name and then the time it started getting active? I want to use it along side the slips you get after paying to keep record of who paid when and what account they used. (I will be adding comments manually cause we use the name separately for something else) and want to know if i can print the comment as well which would contain their real name and not the hotspot username.

a format that kinda looks like this:

Name:pc4, Time:xx:xx, comment:this guy is Ted

its active uptime or the time when user logged in?

active uptime:

:exec "\
 :foreach i in=[/ip hotspot active find] do={\
  :local auser [get \$i \"user\"];\
  :local utime [get \$i \"uptime\"];\
  :local rname [/ip hotspot user get [find name=\$auser] comment];\
  :put \"Name:\$auser, Time:\$utime, comment:this guy is \$rname\";\
 }\
" file="hotspot-user"

time when user logged in:

:exec "\
 :foreach i in=[/ip hotspot active find] do={\
  :local auser [get \$i \"user\"];\
  :local ltime ([/system clock get time] - [get \$i \"uptime\"]);\
  :local rname [/ip hotspot user get [find name=\$auser] comment];\
  :put \"Name:\$auser, Time:\$ltime, comment:this guy is \$rname\";\
 }\
" file="hotspot-user"

not tested, im not using hotspot service.