add modules.exports for Query and nom metadata