Fix typo.
Fix jsons registration so it returns a working path.
Return device id, rather than fixed id :).

No fix in store already, it returned the right thing.