{
    "draw": {{draw}},
    "recordsTotal": {{recordsTotal}},
    "recordsFiltered": {{recordsFiltered}},
    "data": [
    {% autoescape false %}
     {%- for run in runs -%}
    {
        "id": {{run._id | tostr | default | tojson}},
        "experiment_name": {{run.experiment.name | default | tojson}},
        "status": {{run.status | default | tojson | safe}},
        "is_alive": {{run.heartbeat | default | timediff  | detect_alive_experiment | tojson }},
        "start_time": {{run.start_time | default | format_datetime | tojson}},
        "heartbeat": {{run.heartbeat | default | format_datetime | tojson}},
        "heartbeat_diff": {{run.heartbeat | default | timediff | tojson}},
        "hostname": {{run.host.hostname | default | tojson}},
        "captured_out_last_line": {{run.captured_out | default | last_line | tojson}},
        "result":{{run.result | default | tojson}}
        {%- if full_object -%},
        "object": {{run | dump_json}}
        {% endif %}
    }
        {%- if not loop.last -%}
            ,
        {% endif %}
    {% endfor %}
    {% endautoescape %}
    ]

}
@@ -757,16 +757,34 @@
 %0A       
+ %7B# commented out:
  %22captur
@@ -846,32 +846,35 @@
 line %7C tojson%7D%7D,
+ #%7D
 %0A        %22result

Remove captured output last line from the API