Use struct tags to hide data rather than nilling it before serialization.