[beginners question] serializing null attributes