gen-datareader: make generated structs public