Add serialization support for empty Int and Float fields