Convert to canonical prettytable