Mapper is working for mapping rows to structs