Make OperatingSystem, UserAgent and VersionNumber serializable

They are "value objects", and should be serializable to enable some use-cases, thanks!