Sandwich data modeling