array of objects create common key as a property and create array of objects
By Tracy Ward at Jun 24 2020