Allows custom mapping from model to collection

/to @ritch