D2M is Document-to-Relational, a module that implements the algorithm that allows a hierarchical key-value document to be transformed into a relational representation.