changes on struct2map conversion - for slices