UserAgent class now use the Serializer trait