PIM-2675: Handle MongoDB ODM support