add serializers.py to core