Replace ``map`` call with a list comprehension to make sure we get a mat...

...erialized list.

I could have wrapped map() in list(), but that would have incurred a double copy on Python 2 (I think, unless there are Python cow optimizations in place for this.)