Merge JSON Files на структуре рендеринга Phoenix

def render("event_all.json", %{event: event}) do
     render("event.json", %{event: event})
     |> Map.put_new(:activities, render_many(event.activities, Project.ActivityView, "activity.json", as: :activity))
end
Wrong Wombat