Hi @limaa,
FYI
Actually, Dash has already done this for you.
Also, in your code, if you want to reproduce the same uuid, you need to give it a seed.