Fixed a bug where null valued fields were not being save to disk at all