LXC from native: convert lxc.id_map into <idmap>