MadML: custom mapping