Serialize client_id