temp workaround for serialization issue

https://github.com/Shopify/identity_cache/issues/113
https://github.com/Shopify/identity_cache/pull/157
Merge remote-tracking branch 'jamiefiedler/master'