added serializer helper methods for storing Strings that may contain null