It'd be great if we could define the relations map as a function too.
For example, we might want to process data in our model to generate the actual key. For example, we might want to time related data by days, and to do so we'd parse an ISO timestamp to YYYY-MM-DD string.