Transforming Array of Objects into Record of Objects - Effect Community