Promise inside foreach. I want to merge both results in a single object.