fix for GPMONGODB-326 "Support maps of domain classes"