Device registration in Json