You need generate a mame.xml file to get the data you want.
My advice is to download a current version of MAME for Windows here
http://mamedev.org/release.html. Install it and go to the command line and change to the folder where you installed mame and run "mame64.exe -listxml > mame.xml". Create a /home/pi/.attract/extras folder on the Pi. Copy the mame.xml file from your Windows machine to your Pi /home/pi/.attract/extras folder. You should also download the catver.ini, nplayers.ini and controls.ini files from the web and place them in the /home/pi/.attract/extras folder to get the most complete data in your romlist.
Next you need these lines in your Attract-Mode mame.cfg emulator file
system Arcade
info_source
import_extras ./extras/mame.xml;./extras/catver.ini;./extras/nplayers.ini;./extras/controls.ini
Once this is done regenerate the mame romlist and you should have the names and information you want.