We’ve discussed this before at Improving Motoko's programmability - #14 by skilesare
I really wish it was natively in the motoko runtime as it would make tasks like this much easier. This library will get us a long way there. It is going to be integral to some of the upcoming bounties as well.