Parse rows with headers