this does not check if 'uuid' is set but empty, which could easily be the case with a newly created object