list_records_to_df function

Convert a list of records to a data.frame