Simplify PropertyValueSnak::unserialize

This is split from #105.