=HEADER
<% require 'json' %>
{
    "HEADER": {
	"options":  <%= options.to_h.to_json %>,
	"files":    <%= ARGV %>,
	"version":  "<%= BIOVCF_VERSION %>"
    },
    "COLUMNS": <%= header.column_names.to_json %>,
    "META": <%= header.meta.to_json %>,
    "BODY": [
=BODY
	{
	    "seq:chr": "<%= rec.chrom %>" ,
	    "seq:pos": <%= rec.pos %> ,
	    "seq:ref": "<%= rec.ref %>" ,
	    "seq:alt": "<%= rec.alt[0] %>"
	    <% if rec.info.dp %> , "dp": <%= rec.info.dp %> <% end %>
	},
=FOOTER
    ]
}