change registration to empty json