rowToMap method added to RowLike