<#escape x as x?html>
{
    "header": {
        "type": "Batches",
        "dataFields": ["id", "id_time", "status"],
        <#if searchResult??>
        "total" : ${"${paging.totalItems}"?replace(',','')},
	      "count": ${"${paging.pagingSize}"?replace(',','')}
	      </#if>
    },
    "data": [
      <#if searchResult??>
        <#list searchResult.items as item>
            "${item.observationDate}|${item.observationTime}|${item.status}"<#if item_has_next>,</#if>
        </#list>
      </#if>
    ]
}
</#escape>
<#escape x as x?html>
{
    "header": {
        "type": "Batches",
        "dataFields": ["id", "id_time", "status"],
        <#if searchResult??>
        "total" : ${"${paging.totalItems}"?replace(',','')},
	      "count": ${"${paging.pagingSize}"?replace(',','')}
	      </#if>
    },
    "data": [
      <#if searchResult??>
        <#list searchResult.documents as item>
            "${item.observationDate}|${item.observationTime}|${item.status}"<#if item_has_next>,</#if>
        </#list>
      </#if>
    ]
}
</#escape>
Make batch master more standard
[PLAT-1279] Make batch master more standard

Fix JSON
