quite complicated code. I think this approach is easier to understand and read. And improve comment why it is needed. I do not get it from `#Setting root password in the return value`
```
root = @ret["users"].find { |u| u["uid"] == 0 }
root["user_password"] = Users.CryptPassword(UsersSimple.GetRootPassword, "system")