Convert trademapper.arrows to the object module format