serializer compare