title: Fullcalendar event from laravel query json don't show up
body: <p>I have some problem with Fullcalendar on laravel framework.</p>
  
  <p>My Code looks like this:</p>
  
  <p>Scripts to call event when fullcalendar loads:</p>
  
  <pre><code>eventSources:
  [
    {
      type:'POST',
      url: '/hotel/public/api/checkFullCalendar',
      dataType: 'json',
      data: {                 
        "_token": "{{ csrf_token() }}"
      }                    
    }
  ]
  </code></pre>
  
  <p>This is my Controller:</p>
  
  <pre><code>public function checkFullCalendar(Request $request) {
  
      $today = Carbon::now()-&gt;format('Y-m-d');
      $reservation = Reservation::where('checkin','&gt;=', Carbon::now()-&gt;startOfMonth())-&gt;get();
  
      $events = array();
  
      foreach ($reservation as $reser) {
        $e = array();
        $e['id'] = $reser-&gt;id;
        $e['title'] = "Test";
        $e['start'] = $reser-&gt;checkin;
        $e['end'] = $reser-&gt;checkout;
  
        array_push($events, $e);
      }   
  
      return response()-&gt;json(['events' , $events]);
  }
  </code></pre>
  
  <p>This is the output:</p>
  
  <pre><code>["events",[{"id":1,"title":"Test","start":"2017-09-01","end":"2017-09-02"},{"id":2,"title":"Test","start":"2017-09-01","end":"2017-09-02"},{"id":3,"title":"Test","start":"2017-09-01","end":"2017-09-03"}]]
  </code></pre>
  
  <p>and it don't throw any error and no event is show on calendar ,.. BUT,
  if i change my query for only 1 record like this is work</p>
  
  <pre><code>public function checkFullCalendar(Request $request) {
  
      $today = Carbon::now()-&gt;format('Y-m-d');
      $reservation = Reservation::where('checkin','&gt;=', Carbon::now()-&gt;startOfMonth())-&gt;first();
  
      $events = array();
  
      $events['id'] = $reservation-&gt;id;
      $events['title'] = "Test";
      $events['start'] = $reservation-&gt;checkin;
      $events['end'] = $reservation-&gt;checkout;
  
  
      return response()-&gt;json(['events' , $events]);
  }
  </code></pre>
  
  <p>it work perfectly fine(output below) if only I have 1 record I guess I have to style the array output wrong any idea what I missing here? thank you</p>
  
  <pre><code>["events",{"id":1,"title":"Test","start":"2017-09-01"}]
  </code></pre>