Properly serialize nullable floats and integers.

Serialization of floats and integers was silently failing on null (None)
values. This was subtle because the field would still end up being
stored as a null.

Closes #469.
Merge branch '469' into develop

Conflicts:
	CHANGES