cast back to a data.frame so it's sortable in the JavaScript DataTable