cast unicode to allow json dump

Make the hash of the repo unicode so that JSON accept to dump it. 

Damned, will fix, rebase and remove any traces from my history.