title: Rails jbuilder remove header
body: <p>I'm adding jbuilder to a Rails app -- great tool!</p>
  
  <p>I'm getting the list of records I want, but it has extra output I don't want.</p>
  
  <p>This is the jbuilder code:</p>
  
  <pre><code>json.locations @locations do |location|
   json.id location.id
   json.name location.name
  end
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>{
    - locations: [
      {
        id: 1,
        name: "Name 1"
      },
      {
        id: 2,
        name: "Name 2"
      },
  </code></pre>
  
  <p>What I need is:</p>
  
  <pre><code>[
      {
        id: 1,
        name: "Name 1"
      },
      {
        id: 2,
        name: "Name 2"
      },
  </code></pre>
  
  <p>How can I remove the { - locations:</p>
  
  <p>???</p>
  
  <p>Thanks!!</p>
  
  <p>UPDATE:</p>
  
  <p>I'm hoping there is a line of code for jbuilder that would exclude the root.</p>