Add multiple rows format migration, fixes #172