Fix bug in client_integration_id serialization