[ <%- @my_objects.each do |o| %> { "name": "<%= o.name %>" }, <% end %> ]