Add method to convert record to list.