private List<Table> createTables(Map<String, List<Map<String, String>>> yamlStructure)
{
List<Table> tables = new ArrayList<Table>();
for (Map.Entry<String, List<Map<String, String>>> entry : yamlStructure.entrySet())
{
Table table = new Table(entry.getKey());
table.addColumns(extractColumns(entry.getValue()));
table.addRows(extractRows(entry.getValue()));
tables.add(table);
}
return tables;
}