title: In Django Rest Framework, how do I serialize values to an array of values rather than an array of objects?
body: <p>In Django Rest Framework, how do I serialize values to an array of values rather than an array of objects? Here is a sample of my serializer code:</p>
  
  <pre><code>class NodeTagSerializer(serializers.ModelSerializer):
      class Meta:
          model = NodeTag
          fields = (
              'name',
          )
  
  
  class NodeTreeSerializer(serializers.ModelSerializer):
      tags = NodeTagSerializer(required=False)
  
      class Meta:
          model = NodeTree
          fields = (
              'tags',
          )
  </code></pre>
  
  <p>This is returning:</p>
  
  <pre><code>"tags": [
      {"name": "Tag1"},
      {"name": "Tag2"}
  ]
  </code></pre>
  
  <p>But I want:</p>
  
  <pre><code>"tags": [
      "Tag1",
      "Tag2"
  ]
  </code></pre>