Fix using map() for python2,3 compatibility
Fix using map() for python2,3 compatibility

In python3, map() returns an iterator that caused error:
AttributeError: 'map' object has no attribute 'insert'

Targets blueprint: murano-python-3-support
Change-Id: Id0b1e545bf2ce11c0e4fd29faa5d19bad29c2173

NeCTAR-RC/murano,olivierlemasle/murano,openstack/murano,satish-avninetworks/murano,DavidPurcell/murano_temp,NeCTAR-RC/murano,openstack/murano,olivierlemasle/murano,satish-avninetworks/murano,DavidPurcell/murano_temp,DavidPurcell/murano_temp,olivierlemasle/murano,NeCTAR-RC/murano,satish-avninetworks/murano,satish-avninetworks/murano,NeCTAR-RC/murano,DavidPurcell/murano_temp,olivierlemasle/murano