take `flatahb` as input and generate `structuredahb` from it. - [ ] define a new pydantic model for the structuredahb.