A Model of the Data Economy