change json for registration