{
  "@context":"https://www.w3.org/ns/activitystreams",
  "type":"Collection",
  "id":<%= "#{object.iri}/thread".to_json %>,
  "items":[
    <%- thread.each_with_index do |reply, i| -%>
    <%= reply.to_json_ld %><%= comma(thread, i) %>
    <%- end -%>
  ]
}
