Serialize empty numbers as nulls. Fixes #261.
Merge pull request #308 from ahinz/fix/261/fix-update-tree-with-empty-number-fields

Serialize empty numbers as nulls. Fixes #261.