(bug 49264) Handle UnDeserializableValue gracefully.

NOTE: this requires Id27f1902 to be merged into the
WikibaseDataModel module.(merged)

Change-Id: Ic9a6a9f16090861cb95be99f7ab694b18cd91b98
Merge "(bug 49264) Handle UnDeserializableValue gracefully."