Recovering structured data types from a legacy data model with overlays