Create table from list of structs