change how isPrivate/isDeleted is serialized; fix deserialization of tags to not create empty string tag if there are no tags