I'm not sure if this is the correct behavior, but this is a fix for JIRA: CLIENTS-493 (#74). I just return an empty object in the case a tombstone is found. Otherwise, the JSON parser fails on the value.
Thank you for reporting this issue and this pull request. I have opened PR #76 which contains your commit and other related changes, including a unit test.
I'm not sure if this is the correct behavior, but this is a fix for JIRA: CLIENTS-493 (#74). I just return an empty object in the case a tombstone is found. Otherwise, the JSON parser fails on the value.