Text this: Endogenous Market Structures and the Macroeconomy