invert the mapper for dynamic mapping