Fixed extractRow, now correctly returns Map[String, Map[String, A]]