convert table to rst