Two small fixes to serializers