Fix serializer output