adapted Data class for multiple basedOn keys