make OperatingSystem, UserAgent and VersionNumber serializable