use of Doctrine\Common interface to accept ODM metadata