mongoTypeHandler