create a map from items of an array, using one property as 'key'
github.com/nafSadh/arr-to-map
nafSadh/arr-to-map