Fix string casting for iOS receipt of events