setting up serializers. Minor cleanup