Serialize capabilities for notification properly