Make progress on scanning sql to structs