I figured out a solution. ammunition needs a distinct entry in the Ordinance table, and then the ordinance ID needs to be reffered separately in the Weapons table. Only then it will be saveable in the magazine loadout.
LWH, AMF2, BAM-R, -G, etc. are all ffected.