Fixes #1067.
Empty Data with DataSerializable type-id should de-serialize to null.
Merge pull request #1071 from mdogan/fix/3.1/1067

Fixes #1067