removed logging from the serializer.