Add ToJSON instance for RestUser.