refactored serializers.py to use built in ModelSerializer class