added enum-support for merge in BaseMapper