title: Chef data bags (JSON): how to use one file with multiple items
body: <p>I'm trying to use only one file in my Data Bag to contain multiple items (specifically for the <a href="https://supermarket.chef.io/cookbooks/users" rel="nofollow">users</a> cookbook). All samples show isolated JSON objects. How do I store multiple ones in one file?</p>
  
  <p>I've tried </p>
  
  <pre><code>{
    "id": "1"
  },
  {
    "id": "2"
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[
      {
        "id": "1"
      },
      {
        "id": "2"
      }
  ]
  </code></pre>
  
  <p>and </p>
  
  <pre><code>{
    "id": "1"
  }
  {
    "id": "2"
  }
  </code></pre>
  
  <p>I'm getting:</p>
  
  <pre><code>Net::HTTPFatalError: users_manage[xxxxx] (common::default line 76) had an error: Net::HTTPFatalError: 500 "Internal Server Error"
  /opt/chef/embedded/lib/ruby/2.1.0/net/http/response.rb:119:in `error!'
  /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/http.rb:145:in `request'
  /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/http.rb:110:in `get'
  /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/search/query.rb:158:in `call_rest_service'
  /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/search/query.rb:87:in `search'
  /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/dsl/data_query.rb:39:in `search'
  </code></pre>
  
  <p>I'm using <code>chef-solo -z</code> with the chef-solo-search cookbook.</p>
  
  <p>Can't I pass an array of items from one file?</p>