Use the calling serializer's ContractResolver. Fixes #4