in py3 map returns an iterable - casting to list