I also faced class cast exception of com.google.gson.internal.LinkedTreeMap for my signed build only. I added these below lines in progurard. Then it works fine.
-keepattributes Signature
-keepattributes Annotation
-keep class com.google.** { *; }
-keep class sun.misc.** { *; }