developing dmdSec in module metadata.py