fixed registration blob creation (except for unicode ids)