load metadata event subscriber for mongodb-odm