This was an issue in older versions. Make sure you're using version ^2.4.0 as we have improved our serialization strategy and should have solved all issues.
It’s recommended to use the Kotlin API client, which is better suited for Android development.