fixed issue where empty string serializes to 0