changeset 208:c17b184c16db

Update JAMS output to JAMS v0.2.0. We now (for the first time?!) write actual JAMS schema-compliant output when possible, though it isn't possible for many types of plugin. The output for all tested combinations of transforms is valid JSON even where it isn't schema-compliant.
author Chris Cannam
date Wed, 04 Nov 2015 10:07:29 +0000
parents e8f2f530c091
children 382d49862393
files .hgsubstate runner/FeatureExtractionManager.cpp runner/JAMSFeatureWriter.cpp runner/JAMSFeatureWriter.h tests/include.sh tests/test-jams-writer/expected/af-0.json tests/test-jams-writer/expected/af-2.json tests/test-jams-writer/expected/af-6.json tests/test-jams-writer/expected/curve-fsr.json tests/test-jams-writer/expected/grid-oss.json tests/test-jams-writer/expected/instants.json tests/test-jams-writer/expected/notes-regions.json tests/test-jams-writer/test-jams-writer.sh tests/test-jams-writer/transforms/onsets.n3 tests/test-supportprogs/test-supportprogs.sh
diffstat 15 files changed, 830 insertions(+), 753 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Tue Nov 03 14:31:59 2015 +0000
+++ b/.hgsubstate	Wed Nov 04 10:07:29 2015 +0000
@@ -1,4 +1,4 @@
 d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay
 55ece8862b6d3a54aad271a53f9c1615e5d3bcf8 sv-dependency-builds
-870acd589a38f7cc100f32728002448291fbe393 svcore
+d649818fc24958a9017b7e15d01339d3bf83f0b4 svcore
 632d90c185ecc8655f7a85ba58dc568351449dfd vamp-plugin-sdk
--- a/runner/FeatureExtractionManager.cpp	Tue Nov 03 14:31:59 2015 +0000
+++ b/runner/FeatureExtractionManager.cpp	Wed Nov 04 10:07:29 2015 +0000
@@ -744,9 +744,9 @@
                 FeatureWriter::TrackMetadata m;
                 m.title = reader->getTitle();
                 m.maker = reader->getMaker();
-                if (m.title != "" || m.maker != "") {
-                    writers[j]->setTrackMetadata(audioSource, m);
-                }
+                m.duration = RealTime::frame2RealTime(reader->getFrameCount(),
+                                                      reader->getSampleRate());
+                writers[j]->setTrackMetadata(audioSource, m);
             }
         }
     }
--- a/runner/JAMSFeatureWriter.cpp	Tue Nov 03 14:31:59 2015 +0000
+++ b/runner/JAMSFeatureWriter.cpp	Wed Nov 04 10:07:29 2015 +0000
@@ -142,25 +142,42 @@
         QString timestr = f.timestamp.toString().c_str();
         timestr.replace(QRegExp("^ +"), "");
 
+        QString durstr = "0.0";
         if (f.hasDuration) {
-
-            QString endstr = (f.timestamp + f.duration).toString().c_str();
-            endstr.replace(QRegExp("^ +"), "");
-        
-            d += QString
-                ("\"start\": { \"value\": %1 }, "
-                 "\"end\": { \"value\": %2 }").arg(timestr).arg(endstr);
-        } else {
-            d += QString("\"time\": { \"value\": %1 }").arg(timestr);
+            durstr = f.duration.toString().c_str();
+            durstr.replace(QRegExp("^ +"), "");
         }
         
+        d += QString("\"time\": %1, \"duration\": %2, \"confidence\": 1.0")
+            .arg(timestr).arg(durstr);
+
+        // here we have to differ from the JAMS 0.2.0 spec. It allows
+        // a single "value" element which can be either a number or a
+        // string, depending on the selected task. But we may have
+        // many values and may have a label as well, and no way to
+        // know whether these can be made to conform to the JAMS task
+        // schema. We should just write what we have. If we only have
+        // a label, we can write that out as "value" as JAMS requests,
+        // but if we have a (numerical) value and a label, we really
+        // have to write them separately, and if we have multiple
+        // values we'll have to use an array. The chances of actually
+        // ending up with a schema-compliant JAMS format are quite
+        // small, which suggests JAMS isn't a great idea for this
+        // after all!
+        
         if (f.label != "") {
-            d += QString(", \"label\": { \"value\": \"%2\" }")
-                .arg(f.label.c_str());
+            if (f.values.empty()) {
+                d += QString(", \"value\": \"%2\"").arg(f.label.c_str());
+            } else {
+                d += QString(", \"label\": \"%2\"").arg(f.label.c_str());
+            }
         }
 
-        if (f.values.size() > 0) {
-            d += QString(", \"value\": [ ");
+        if (!f.values.empty()) {
+            d += QString(", \"value\": ");
+            if (f.values.size() > 1) {
+                d += "[ ";
+            }
             for (int j = 0; j < int(f.values.size()); ++j) {
                 if (isnan(f.values[j])) {
                     d += "\"NaN\"";
@@ -173,7 +190,9 @@
                     d += ", ";
                 }
             }
-            d += " ]";
+            if (f.values.size() > 1) {
+                d += " ]";
+            }
         }
             
         d += " }";
@@ -222,10 +241,16 @@
 
             stream << "{\n"
                    << QString("\"file_metadata\": {\n"
-                              "  \"filename\": \"%1\"")
+                              "  \"jams_version\": \"0.2.0\",\n"
+                              "  \"identifiers\": { \"filename\": \"%1\" }")
                 .arg(QFileInfo(trackId).fileName());
 
             if (m_trackMetadata.find(trackId) != m_trackMetadata.end()) {
+
+                QString durstr = m_trackMetadata[trackId].duration.toString().c_str();
+                durstr.replace(QRegExp("^ +"), "");
+                stream << QString(",\n  \"duration\": %1").arg(durstr);
+
                 if (m_trackMetadata[trackId].maker != "") {
                     stream << QString(",\n  \"artist\": \"%1\"")
                         .arg(m_trackMetadata[trackId].maker);
@@ -237,6 +262,7 @@
             }
 
             stream << "\n},\n";
+            stream << "\"annotations\": [\n";
 
             bool firstInTrack = true;
 
@@ -245,14 +271,6 @@
                 
                 Task task = *ti;
 
-                if (!firstInTrack) {
-                    stream << ",\n";
-                }
-
-                stream << "\"" << getTaskKey(task) << "\": [\n";
-                
-                bool firstInTask = true;
-
                 for (DataIds::const_iterator di = m_streamData[sptr].begin();
                      di != m_streamData[sptr].end(); ++di) {
                     
@@ -265,13 +283,14 @@
 
                     QString data = m_data[did];
 
-                    if (!firstInTask) {
+                    if (!firstInTrack) {
                         stream << ",\n";
                     }
 
+                    stream << "{\n  \"namespace\": \"" << getTaskKey(task) << "\",\n";
+
                     stream << QString
-                        ("{ \n"
-                         "  \"annotation_metadata\": {\n"
+                        ("  \"annotation_metadata\": {\n"
                          "    \"annotation_tools\": \"Sonic Annotator v%2\",\n"
                          "    \"data_source\": \"Automatic feature extraction\",\n"
                          "    \"annotator\": {\n"
@@ -285,12 +304,11 @@
                     stream << data;
 
                     stream << "\n  ]\n}";
-                    firstInTask = false;
+                    firstInTrack = false;
                 }
+            }
 
-                stream << "\n]";
-                firstInTrack = false;
-            }
+            stream << "\n]";
 
             stream << "\n}";
             firstInStream = false;
--- a/runner/JAMSFeatureWriter.h	Tue Nov 03 14:31:59 2015 +0000
+++ b/runner/JAMSFeatureWriter.h	Wed Nov 04 10:07:29 2015 +0000
@@ -14,8 +14,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _JAMS_FEATURE_WRITER_H_
-#define _JAMS_FEATURE_WRITER_H_
+#ifndef JAMS_FEATURE_WRITER_H
+#define JAMS_FEATURE_WRITER_H
 
 #include "transform/FileFeatureWriter.h"
 
--- a/tests/include.sh	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/include.sh	Wed Nov 04 10:07:29 2015 +0000
@@ -62,7 +62,12 @@
 jsoncompare() {
     a="$1"
     b="$2"
+    cat "$a" | json_reformat > "${a}__"
+    cat "$b" | json_reformat > "${b}__"
     cmp -s "$a" "$b"
+    rv=$?
+    rm "${a}__" "${b}__"
+    return $rv
 }
 
 faildiff() {
--- a/tests/test-jams-writer/expected/af-0.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/af-0.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "3clicks8.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "3clicks8.wav" },
+  "duration": 4.979659863
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -17,221 +20,221 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "value": [ 0.00359596 ] },
-    { "time": { "value": 0.023219954 }, "value": [ 0.00351864 ] },
-    { "time": { "value": 0.046439909 }, "value": [ 0.00357167 ] },
-    { "time": { "value": 0.069659863 }, "value": [ 0.00358918 ] },
-    { "time": { "value": 0.092879818 }, "value": [ 0.00359586 ] },
-    { "time": { "value": 0.116099773 }, "value": [ 0.00352171 ] },
-    { "time": { "value": 0.139319727 }, "value": [ 0.00353074 ] },
-    { "time": { "value": 0.162539682 }, "value": [ 0.00354993 ] },
-    { "time": { "value": 0.185759637 }, "value": [ 0.00354264 ] },
-    { "time": { "value": 0.208979591 }, "value": [ 0.00352689 ] },
-    { "time": { "value": 0.232199546 }, "value": [ 0.00360165 ] },
-    { "time": { "value": 0.255419501 }, "value": [ 0.00361172 ] },
-    { "time": { "value": 0.278639455 }, "value": [ 0.00361564 ] },
-    { "time": { "value": 0.301859410 }, "value": [ 0.0035339 ] },
-    { "time": { "value": 0.325079365 }, "value": [ 0.00361025 ] },
-    { "time": { "value": 0.348299319 }, "value": [ 0.00352643 ] },
-    { "time": { "value": 0.371519274 }, "value": [ 0.00355937 ] },
-    { "time": { "value": 0.394739229 }, "value": [ 0.00353683 ] },
-    { "time": { "value": 0.417959183 }, "value": [ 0.00358946 ] },
-    { "time": { "value": 0.441179138 }, "value": [ 0.00363629 ] },
-    { "time": { "value": 0.464399092 }, "value": [ 0.00354152 ] },
-    { "time": { "value": 0.487619047 }, "value": [ 0.00348666 ] },
-    { "time": { "value": 0.510839002 }, "value": [ 0.00352516 ] },
-    { "time": { "value": 0.534058956 }, "value": [ 0.00352261 ] },
-    { "time": { "value": 0.557278911 }, "value": [ 0.00350301 ] },
-    { "time": { "value": 0.580498866 }, "value": [ 0.00352414 ] },
-    { "time": { "value": 0.603718820 }, "value": [ 0.00351352 ] },
-    { "time": { "value": 0.626938775 }, "value": [ 0.00345411 ] },
-    { "time": { "value": 0.650158730 }, "value": [ 0.00363914 ] },
-    { "time": { "value": 0.673378684 }, "value": [ 0.00370925 ] },
-    { "time": { "value": 0.696598639 }, "value": [ 0.00348075 ] },
-    { "time": { "value": 0.719818594 }, "value": [ 0.0034814 ] },
-    { "time": { "value": 0.743038548 }, "value": [ 0.00362525 ] },
-    { "time": { "value": 0.766258503 }, "value": [ 0.0146151 ] },
-    { "time": { "value": 0.789478458 }, "value": [ 0.00458446 ] },
-    { "time": { "value": 0.812698412 }, "value": [ 0.00342316 ] },
-    { "time": { "value": 0.835918367 }, "value": [ 0.0036135 ] },
-    { "time": { "value": 0.859138321 }, "value": [ 0.00352045 ] },
-    { "time": { "value": 0.882358276 }, "value": [ 0.0036266 ] },
-    { "time": { "value": 0.905578231 }, "value": [ 0.00357805 ] },
-    { "time": { "value": 0.928798185 }, "value": [ 0.00355937 ] },
-    { "time": { "value": 0.952018140 }, "value": [ 0.00350579 ] },
-    { "time": { "value": 0.975238095 }, "value": [ 0.00359969 ] },
-    { "time": { "value": 0.998458049 }, "value": [ 0.00352854 ] },
-    { "time": { "value": 1.021678004 }, "value": [ 0.00353486 ] },
-    { "time": { "value": 1.044897959 }, "value": [ 0.00355259 ] },
-    { "time": { "value": 1.068117913 }, "value": [ 0.00347951 ] },
-    { "time": { "value": 1.091337868 }, "value": [ 0.00361734 ] },
-    { "time": { "value": 1.114557823 }, "value": [ 0.00351861 ] },
-    { "time": { "value": 1.137777777 }, "value": [ 0.00351437 ] },
-    { "time": { "value": 1.160997732 }, "value": [ 0.00352971 ] },
-    { "time": { "value": 1.184217687 }, "value": [ 0.00360414 ] },
-    { "time": { "value": 1.207437641 }, "value": [ 0.0034343 ] },
-    { "time": { "value": 1.230657596 }, "value": [ 0.00358201 ] },
-    { "time": { "value": 1.253877551 }, "value": [ 0.00361252 ] },
-    { "time": { "value": 1.277097505 }, "value": [ 0.00361165 ] },
-    { "time": { "value": 1.300317460 }, "value": [ 0.00355763 ] },
-    { "time": { "value": 1.323537414 }, "value": [ 0.00353226 ] },
-    { "time": { "value": 1.346757369 }, "value": [ 0.00349109 ] },
-    { "time": { "value": 1.369977324 }, "value": [ 0.00352628 ] },
-    { "time": { "value": 1.393197278 }, "value": [ 0.00348415 ] },
-    { "time": { "value": 1.416417233 }, "value": [ 0.00354576 ] },
-    { "time": { "value": 1.439637188 }, "value": [ 0.00369414 ] },
-    { "time": { "value": 1.462857142 }, "value": [ 0.00367139 ] },
-    { "time": { "value": 1.486077097 }, "value": [ 0.00342798 ] },
-    { "time": { "value": 1.509297052 }, "value": [ 0.00338209 ] },
-    { "time": { "value": 1.532517006 }, "value": [ 0.00351023 ] },
-    { "time": { "value": 1.555736961 }, "value": [ 0.00346643 ] },
-    { "time": { "value": 1.578956916 }, "value": [ 0.00346979 ] },
-    { "time": { "value": 1.602176870 }, "value": [ 0.00348269 ] },
-    { "time": { "value": 1.625396825 }, "value": [ 0.00348368 ] },
-    { "time": { "value": 1.648616780 }, "value": [ 0.01162 ] },
-    { "time": { "value": 1.671836734 }, "value": [ 0.00359211 ] },
-    { "time": { "value": 1.695056689 }, "value": [ 0.00360249 ] },
-    { "time": { "value": 1.718276643 }, "value": [ 0.00352957 ] },
-    { "time": { "value": 1.741496598 }, "value": [ 0.00349559 ] },
-    { "time": { "value": 1.764716553 }, "value": [ 0.00344387 ] },
-    { "time": { "value": 1.787936507 }, "value": [ 0.00352666 ] },
-    { "time": { "value": 1.811156462 }, "value": [ 0.0035248 ] },
-    { "time": { "value": 1.834376417 }, "value": [ 0.00353289 ] },
-    { "time": { "value": 1.857596371 }, "value": [ 0.00353361 ] },
-    { "time": { "value": 1.880816326 }, "value": [ 0.00348838 ] },
-    { "time": { "value": 1.904036281 }, "value": [ 0.00355124 ] },
-    { "time": { "value": 1.927256235 }, "value": [ 0.00349487 ] },
-    { "time": { "value": 1.950476190 }, "value": [ 0.0036614 ] },
-    { "time": { "value": 1.973696145 }, "value": [ 0.00358802 ] },
-    { "time": { "value": 1.996916099 }, "value": [ 0.00351078 ] },
-    { "time": { "value": 2.020136054 }, "value": [ 0.00351788 ] },
-    { "time": { "value": 2.043356009 }, "value": [ 0.00345998 ] },
-    { "time": { "value": 2.066575963 }, "value": [ 0.00359541 ] },
-    { "time": { "value": 2.089795918 }, "value": [ 0.00363803 ] },
-    { "time": { "value": 2.113015873 }, "value": [ 0.00341127 ] },
-    { "time": { "value": 2.136235827 }, "value": [ 0.00358579 ] },
-    { "time": { "value": 2.159455782 }, "value": [ 0.00358391 ] },
-    { "time": { "value": 2.182675736 }, "value": [ 0.00349291 ] },
-    { "time": { "value": 2.205895691 }, "value": [ 0.00350593 ] },
-    { "time": { "value": 2.229115646 }, "value": [ 0.00347529 ] },
-    { "time": { "value": 2.252335600 }, "value": [ 0.00358021 ] },
-    { "time": { "value": 2.275555555 }, "value": [ 0.00353051 ] },
-    { "time": { "value": 2.298775510 }, "value": [ 0.00360463 ] },
-    { "time": { "value": 2.321995464 }, "value": [ 0.00357421 ] },
-    { "time": { "value": 2.345215419 }, "value": [ 0.00343617 ] },
-    { "time": { "value": 2.368435374 }, "value": [ 0.00367464 ] },
-    { "time": { "value": 2.391655328 }, "value": [ 0.00623882 ] },
-    { "time": { "value": 2.414875283 }, "value": [ 0.0139992 ] },
-    { "time": { "value": 2.438095238 }, "value": [ 0.00347958 ] },
-    { "time": { "value": 2.461315192 }, "value": [ 0.00348231 ] },
-    { "time": { "value": 2.484535147 }, "value": [ 0.0035482 ] },
-    { "time": { "value": 2.507755102 }, "value": [ 0.00350744 ] },
-    { "time": { "value": 2.530975056 }, "value": [ 0.00342298 ] },
-    { "time": { "value": 2.554195011 }, "value": [ 0.00366419 ] },
-    { "time": { "value": 2.577414965 }, "value": [ 0.0034377 ] },
-    { "time": { "value": 2.600634920 }, "value": [ 0.00356318 ] },
-    { "time": { "value": 2.623854875 }, "value": [ 0.00354368 ] },
-    { "time": { "value": 2.647074829 }, "value": [ 0.00360324 ] },
-    { "time": { "value": 2.670294784 }, "value": [ 0.00354322 ] },
-    { "time": { "value": 2.693514739 }, "value": [ 0.0035675 ] },
-    { "time": { "value": 2.716734693 }, "value": [ 0.00346242 ] },
-    { "time": { "value": 2.739954648 }, "value": [ 0.00348647 ] },
-    { "time": { "value": 2.763174603 }, "value": [ 0.0034772 ] },
-    { "time": { "value": 2.786394557 }, "value": [ 0.00344762 ] },
-    { "time": { "value": 2.809614512 }, "value": [ 0.00352104 ] },
-    { "time": { "value": 2.832834467 }, "value": [ 0.00355933 ] },
-    { "time": { "value": 2.856054421 }, "value": [ 0.00340756 ] },
-    { "time": { "value": 2.879274376 }, "value": [ 0.00349975 ] },
-    { "time": { "value": 2.902494331 }, "value": [ 0.00348265 ] },
-    { "time": { "value": 2.925714285 }, "value": [ 0.00354504 ] },
-    { "time": { "value": 2.948934240 }, "value": [ 0.00349364 ] },
-    { "time": { "value": 2.972154195 }, "value": [ 0.00349891 ] },
-    { "time": { "value": 2.995374149 }, "value": [ 0.00356645 ] },
-    { "time": { "value": 3.018594104 }, "value": [ 0.00353567 ] },
-    { "time": { "value": 3.041814058 }, "value": [ 0.00360318 ] },
-    { "time": { "value": 3.065034013 }, "value": [ 0.00359901 ] },
-    { "time": { "value": 3.088253968 }, "value": [ 0.00349811 ] },
-    { "time": { "value": 3.111473922 }, "value": [ 0.00358849 ] },
-    { "time": { "value": 3.134693877 }, "value": [ 0.00359128 ] },
-    { "time": { "value": 3.157913832 }, "value": [ 0.00352523 ] },
-    { "time": { "value": 3.181133786 }, "value": [ 0.00360644 ] },
-    { "time": { "value": 3.204353741 }, "value": [ 0.00351975 ] },
-    { "time": { "value": 3.227573696 }, "value": [ 0.00360961 ] },
-    { "time": { "value": 3.250793650 }, "value": [ 0.00353225 ] },
-    { "time": { "value": 3.274013605 }, "value": [ 0.00356697 ] },
-    { "time": { "value": 3.297233560 }, "value": [ 0.00342544 ] },
-    { "time": { "value": 3.320453514 }, "value": [ 0.00356122 ] },
-    { "time": { "value": 3.343673469 }, "value": [ 0.00357135 ] },
-    { "time": { "value": 3.366893424 }, "value": [ 0.00352669 ] },
-    { "time": { "value": 3.390113378 }, "value": [ 0.00359497 ] },
-    { "time": { "value": 3.413333333 }, "value": [ 0.00357022 ] },
-    { "time": { "value": 3.436553287 }, "value": [ 0.00350066 ] },
-    { "time": { "value": 3.459773242 }, "value": [ 0.00349705 ] },
-    { "time": { "value": 3.482993197 }, "value": [ 0.00350598 ] },
-    { "time": { "value": 3.506213151 }, "value": [ 0.00357775 ] },
-    { "time": { "value": 3.529433106 }, "value": [ 0.00352816 ] },
-    { "time": { "value": 3.552653061 }, "value": [ 0.00358455 ] },
-    { "time": { "value": 3.575873015 }, "value": [ 0.00348071 ] },
-    { "time": { "value": 3.599092970 }, "value": [ 0.00355185 ] },
-    { "time": { "value": 3.622312925 }, "value": [ 0.00350845 ] },
-    { "time": { "value": 3.645532879 }, "value": [ 0.00360378 ] },
-    { "time": { "value": 3.668752834 }, "value": [ 0.00333629 ] },
-    { "time": { "value": 3.691972789 }, "value": [ 0.00341339 ] },
-    { "time": { "value": 3.715192743 }, "value": [ 0.00345791 ] },
-    { "time": { "value": 3.738412698 }, "value": [ 0.00348351 ] },
-    { "time": { "value": 3.761632653 }, "value": [ 0.00349349 ] },
-    { "time": { "value": 3.784852607 }, "value": [ 0.00354578 ] },
-    { "time": { "value": 3.808072562 }, "value": [ 0.00363189 ] },
-    { "time": { "value": 3.831292517 }, "value": [ 0.00352206 ] },
-    { "time": { "value": 3.854512471 }, "value": [ 0.00369021 ] },
-    { "time": { "value": 3.877732426 }, "value": [ 0.00351326 ] },
-    { "time": { "value": 3.900952380 }, "value": [ 0.00356962 ] },
-    { "time": { "value": 3.924172335 }, "value": [ 0.00357592 ] },
-    { "time": { "value": 3.947392290 }, "value": [ 0.00349988 ] },
-    { "time": { "value": 3.970612244 }, "value": [ 0.00349944 ] },
-    { "time": { "value": 3.993832199 }, "value": [ 0.00355037 ] },
-    { "time": { "value": 4.017052154 }, "value": [ 0.00360133 ] },
-    { "time": { "value": 4.040272108 }, "value": [ 0.00354759 ] },
-    { "time": { "value": 4.063492063 }, "value": [ 0.00354953 ] },
-    { "time": { "value": 4.086712018 }, "value": [ 0.0035587 ] },
-    { "time": { "value": 4.109931972 }, "value": [ 0.00364969 ] },
-    { "time": { "value": 4.133151927 }, "value": [ 0.00345758 ] },
-    { "time": { "value": 4.156371882 }, "value": [ 0.00347695 ] },
-    { "time": { "value": 4.179591836 }, "value": [ 0.00359545 ] },
-    { "time": { "value": 4.202811791 }, "value": [ 0.00353286 ] },
-    { "time": { "value": 4.226031746 }, "value": [ 0.00366958 ] },
-    { "time": { "value": 4.249251700 }, "value": [ 0.00350838 ] },
-    { "time": { "value": 4.272471655 }, "value": [ 0.00353147 ] },
-    { "time": { "value": 4.295691609 }, "value": [ 0.0036185 ] },
-    { "time": { "value": 4.318911564 }, "value": [ 0.00349132 ] },
-    { "time": { "value": 4.342131519 }, "value": [ 0.00353897 ] },
-    { "time": { "value": 4.365351473 }, "value": [ 0.00347904 ] },
-    { "time": { "value": 4.388571428 }, "value": [ 0.00348759 ] },
-    { "time": { "value": 4.411791383 }, "value": [ 0.00358541 ] },
-    { "time": { "value": 4.435011337 }, "value": [ 0.00349229 ] },
-    { "time": { "value": 4.458231292 }, "value": [ 0.00357759 ] },
-    { "time": { "value": 4.481451247 }, "value": [ 0.00355427 ] },
-    { "time": { "value": 4.504671201 }, "value": [ 0.00355063 ] },
-    { "time": { "value": 4.527891156 }, "value": [ 0.00358087 ] },
-    { "time": { "value": 4.551111111 }, "value": [ 0.00350815 ] },
-    { "time": { "value": 4.574331065 }, "value": [ 0.00353843 ] },
-    { "time": { "value": 4.597551020 }, "value": [ 0.00354201 ] },
-    { "time": { "value": 4.620770975 }, "value": [ 0.00350497 ] },
-    { "time": { "value": 4.643990929 }, "value": [ 0.00354671 ] },
-    { "time": { "value": 4.667210884 }, "value": [ 0.00353596 ] },
-    { "time": { "value": 4.690430839 }, "value": [ 0.00347371 ] },
-    { "time": { "value": 4.713650793 }, "value": [ 0.0035368 ] },
-    { "time": { "value": 4.736870748 }, "value": [ 0.00360017 ] },
-    { "time": { "value": 4.760090702 }, "value": [ 0.00352821 ] },
-    { "time": { "value": 4.783310657 }, "value": [ 0.00359332 ] },
-    { "time": { "value": 4.806530612 }, "value": [ 0.00353742 ] },
-    { "time": { "value": 4.829750566 }, "value": [ 0.00353795 ] },
-    { "time": { "value": 4.852970521 }, "value": [ 0.00348792 ] },
-    { "time": { "value": 4.876190476 }, "value": [ 0.0034639 ] },
-    { "time": { "value": 4.899410430 }, "value": [ 0.0036387 ] },
-    { "time": { "value": 4.922630385 }, "value": [ 0.00354102 ] },
-    { "time": { "value": 4.945850340 }, "value": [ 0.00351475 ] },
-    { "time": { "value": 4.969070294 }, "value": [ 0.00356904 ] }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": 0.00359596 },
+    { "time": 0.023219954, "duration": 0.0, "confidence": 1.0, "value": 0.00351864 },
+    { "time": 0.046439909, "duration": 0.0, "confidence": 1.0, "value": 0.00357167 },
+    { "time": 0.069659863, "duration": 0.0, "confidence": 1.0, "value": 0.00358918 },
+    { "time": 0.092879818, "duration": 0.0, "confidence": 1.0, "value": 0.00359586 },
+    { "time": 0.116099773, "duration": 0.0, "confidence": 1.0, "value": 0.00352171 },
+    { "time": 0.139319727, "duration": 0.0, "confidence": 1.0, "value": 0.00353074 },
+    { "time": 0.162539682, "duration": 0.0, "confidence": 1.0, "value": 0.00354993 },
+    { "time": 0.185759637, "duration": 0.0, "confidence": 1.0, "value": 0.00354264 },
+    { "time": 0.208979591, "duration": 0.0, "confidence": 1.0, "value": 0.00352689 },
+    { "time": 0.232199546, "duration": 0.0, "confidence": 1.0, "value": 0.00360165 },
+    { "time": 0.255419501, "duration": 0.0, "confidence": 1.0, "value": 0.00361172 },
+    { "time": 0.278639455, "duration": 0.0, "confidence": 1.0, "value": 0.00361564 },
+    { "time": 0.301859410, "duration": 0.0, "confidence": 1.0, "value": 0.0035339 },
+    { "time": 0.325079365, "duration": 0.0, "confidence": 1.0, "value": 0.00361025 },
+    { "time": 0.348299319, "duration": 0.0, "confidence": 1.0, "value": 0.00352643 },
+    { "time": 0.371519274, "duration": 0.0, "confidence": 1.0, "value": 0.00355937 },
+    { "time": 0.394739229, "duration": 0.0, "confidence": 1.0, "value": 0.00353683 },
+    { "time": 0.417959183, "duration": 0.0, "confidence": 1.0, "value": 0.00358946 },
+    { "time": 0.441179138, "duration": 0.0, "confidence": 1.0, "value": 0.00363629 },
+    { "time": 0.464399092, "duration": 0.0, "confidence": 1.0, "value": 0.00354152 },
+    { "time": 0.487619047, "duration": 0.0, "confidence": 1.0, "value": 0.00348666 },
+    { "time": 0.510839002, "duration": 0.0, "confidence": 1.0, "value": 0.00352516 },
+    { "time": 0.534058956, "duration": 0.0, "confidence": 1.0, "value": 0.00352261 },
+    { "time": 0.557278911, "duration": 0.0, "confidence": 1.0, "value": 0.00350301 },
+    { "time": 0.580498866, "duration": 0.0, "confidence": 1.0, "value": 0.00352414 },
+    { "time": 0.603718820, "duration": 0.0, "confidence": 1.0, "value": 0.00351352 },
+    { "time": 0.626938775, "duration": 0.0, "confidence": 1.0, "value": 0.00345411 },
+    { "time": 0.650158730, "duration": 0.0, "confidence": 1.0, "value": 0.00363914 },
+    { "time": 0.673378684, "duration": 0.0, "confidence": 1.0, "value": 0.00370925 },
+    { "time": 0.696598639, "duration": 0.0, "confidence": 1.0, "value": 0.00348075 },
+    { "time": 0.719818594, "duration": 0.0, "confidence": 1.0, "value": 0.0034814 },
+    { "time": 0.743038548, "duration": 0.0, "confidence": 1.0, "value": 0.00362525 },
+    { "time": 0.766258503, "duration": 0.0, "confidence": 1.0, "value": 0.0146151 },
+    { "time": 0.789478458, "duration": 0.0, "confidence": 1.0, "value": 0.00458446 },
+    { "time": 0.812698412, "duration": 0.0, "confidence": 1.0, "value": 0.00342316 },
+    { "time": 0.835918367, "duration": 0.0, "confidence": 1.0, "value": 0.0036135 },
+    { "time": 0.859138321, "duration": 0.0, "confidence": 1.0, "value": 0.00352045 },
+    { "time": 0.882358276, "duration": 0.0, "confidence": 1.0, "value": 0.0036266 },
+    { "time": 0.905578231, "duration": 0.0, "confidence": 1.0, "value": 0.00357805 },
+    { "time": 0.928798185, "duration": 0.0, "confidence": 1.0, "value": 0.00355937 },
+    { "time": 0.952018140, "duration": 0.0, "confidence": 1.0, "value": 0.00350579 },
+    { "time": 0.975238095, "duration": 0.0, "confidence": 1.0, "value": 0.00359969 },
+    { "time": 0.998458049, "duration": 0.0, "confidence": 1.0, "value": 0.00352854 },
+    { "time": 1.021678004, "duration": 0.0, "confidence": 1.0, "value": 0.00353486 },
+    { "time": 1.044897959, "duration": 0.0, "confidence": 1.0, "value": 0.00355259 },
+    { "time": 1.068117913, "duration": 0.0, "confidence": 1.0, "value": 0.00347951 },
+    { "time": 1.091337868, "duration": 0.0, "confidence": 1.0, "value": 0.00361734 },
+    { "time": 1.114557823, "duration": 0.0, "confidence": 1.0, "value": 0.00351861 },
+    { "time": 1.137777777, "duration": 0.0, "confidence": 1.0, "value": 0.00351437 },
+    { "time": 1.160997732, "duration": 0.0, "confidence": 1.0, "value": 0.00352971 },
+    { "time": 1.184217687, "duration": 0.0, "confidence": 1.0, "value": 0.00360414 },
+    { "time": 1.207437641, "duration": 0.0, "confidence": 1.0, "value": 0.0034343 },
+    { "time": 1.230657596, "duration": 0.0, "confidence": 1.0, "value": 0.00358201 },
+    { "time": 1.253877551, "duration": 0.0, "confidence": 1.0, "value": 0.00361252 },
+    { "time": 1.277097505, "duration": 0.0, "confidence": 1.0, "value": 0.00361165 },
+    { "time": 1.300317460, "duration": 0.0, "confidence": 1.0, "value": 0.00355763 },
+    { "time": 1.323537414, "duration": 0.0, "confidence": 1.0, "value": 0.00353226 },
+    { "time": 1.346757369, "duration": 0.0, "confidence": 1.0, "value": 0.00349109 },
+    { "time": 1.369977324, "duration": 0.0, "confidence": 1.0, "value": 0.00352628 },
+    { "time": 1.393197278, "duration": 0.0, "confidence": 1.0, "value": 0.00348415 },
+    { "time": 1.416417233, "duration": 0.0, "confidence": 1.0, "value": 0.00354576 },
+    { "time": 1.439637188, "duration": 0.0, "confidence": 1.0, "value": 0.00369414 },
+    { "time": 1.462857142, "duration": 0.0, "confidence": 1.0, "value": 0.00367139 },
+    { "time": 1.486077097, "duration": 0.0, "confidence": 1.0, "value": 0.00342798 },
+    { "time": 1.509297052, "duration": 0.0, "confidence": 1.0, "value": 0.00338209 },
+    { "time": 1.532517006, "duration": 0.0, "confidence": 1.0, "value": 0.00351023 },
+    { "time": 1.555736961, "duration": 0.0, "confidence": 1.0, "value": 0.00346643 },
+    { "time": 1.578956916, "duration": 0.0, "confidence": 1.0, "value": 0.00346979 },
+    { "time": 1.602176870, "duration": 0.0, "confidence": 1.0, "value": 0.00348269 },
+    { "time": 1.625396825, "duration": 0.0, "confidence": 1.0, "value": 0.00348368 },
+    { "time": 1.648616780, "duration": 0.0, "confidence": 1.0, "value": 0.01162 },
+    { "time": 1.671836734, "duration": 0.0, "confidence": 1.0, "value": 0.00359211 },
+    { "time": 1.695056689, "duration": 0.0, "confidence": 1.0, "value": 0.00360249 },
+    { "time": 1.718276643, "duration": 0.0, "confidence": 1.0, "value": 0.00352957 },
+    { "time": 1.741496598, "duration": 0.0, "confidence": 1.0, "value": 0.00349559 },
+    { "time": 1.764716553, "duration": 0.0, "confidence": 1.0, "value": 0.00344387 },
+    { "time": 1.787936507, "duration": 0.0, "confidence": 1.0, "value": 0.00352666 },
+    { "time": 1.811156462, "duration": 0.0, "confidence": 1.0, "value": 0.0035248 },
+    { "time": 1.834376417, "duration": 0.0, "confidence": 1.0, "value": 0.00353289 },
+    { "time": 1.857596371, "duration": 0.0, "confidence": 1.0, "value": 0.00353361 },
+    { "time": 1.880816326, "duration": 0.0, "confidence": 1.0, "value": 0.00348838 },
+    { "time": 1.904036281, "duration": 0.0, "confidence": 1.0, "value": 0.00355124 },
+    { "time": 1.927256235, "duration": 0.0, "confidence": 1.0, "value": 0.00349487 },
+    { "time": 1.950476190, "duration": 0.0, "confidence": 1.0, "value": 0.0036614 },
+    { "time": 1.973696145, "duration": 0.0, "confidence": 1.0, "value": 0.00358802 },
+    { "time": 1.996916099, "duration": 0.0, "confidence": 1.0, "value": 0.00351078 },
+    { "time": 2.020136054, "duration": 0.0, "confidence": 1.0, "value": 0.00351788 },
+    { "time": 2.043356009, "duration": 0.0, "confidence": 1.0, "value": 0.00345998 },
+    { "time": 2.066575963, "duration": 0.0, "confidence": 1.0, "value": 0.00359541 },
+    { "time": 2.089795918, "duration": 0.0, "confidence": 1.0, "value": 0.00363803 },
+    { "time": 2.113015873, "duration": 0.0, "confidence": 1.0, "value": 0.00341127 },
+    { "time": 2.136235827, "duration": 0.0, "confidence": 1.0, "value": 0.00358579 },
+    { "time": 2.159455782, "duration": 0.0, "confidence": 1.0, "value": 0.00358391 },
+    { "time": 2.182675736, "duration": 0.0, "confidence": 1.0, "value": 0.00349291 },
+    { "time": 2.205895691, "duration": 0.0, "confidence": 1.0, "value": 0.00350593 },
+    { "time": 2.229115646, "duration": 0.0, "confidence": 1.0, "value": 0.00347529 },
+    { "time": 2.252335600, "duration": 0.0, "confidence": 1.0, "value": 0.00358021 },
+    { "time": 2.275555555, "duration": 0.0, "confidence": 1.0, "value": 0.00353051 },
+    { "time": 2.298775510, "duration": 0.0, "confidence": 1.0, "value": 0.00360463 },
+    { "time": 2.321995464, "duration": 0.0, "confidence": 1.0, "value": 0.00357421 },
+    { "time": 2.345215419, "duration": 0.0, "confidence": 1.0, "value": 0.00343617 },
+    { "time": 2.368435374, "duration": 0.0, "confidence": 1.0, "value": 0.00367464 },
+    { "time": 2.391655328, "duration": 0.0, "confidence": 1.0, "value": 0.00623882 },
+    { "time": 2.414875283, "duration": 0.0, "confidence": 1.0, "value": 0.0139992 },
+    { "time": 2.438095238, "duration": 0.0, "confidence": 1.0, "value": 0.00347958 },
+    { "time": 2.461315192, "duration": 0.0, "confidence": 1.0, "value": 0.00348231 },
+    { "time": 2.484535147, "duration": 0.0, "confidence": 1.0, "value": 0.0035482 },
+    { "time": 2.507755102, "duration": 0.0, "confidence": 1.0, "value": 0.00350744 },
+    { "time": 2.530975056, "duration": 0.0, "confidence": 1.0, "value": 0.00342298 },
+    { "time": 2.554195011, "duration": 0.0, "confidence": 1.0, "value": 0.00366419 },
+    { "time": 2.577414965, "duration": 0.0, "confidence": 1.0, "value": 0.0034377 },
+    { "time": 2.600634920, "duration": 0.0, "confidence": 1.0, "value": 0.00356318 },
+    { "time": 2.623854875, "duration": 0.0, "confidence": 1.0, "value": 0.00354368 },
+    { "time": 2.647074829, "duration": 0.0, "confidence": 1.0, "value": 0.00360324 },
+    { "time": 2.670294784, "duration": 0.0, "confidence": 1.0, "value": 0.00354322 },
+    { "time": 2.693514739, "duration": 0.0, "confidence": 1.0, "value": 0.0035675 },
+    { "time": 2.716734693, "duration": 0.0, "confidence": 1.0, "value": 0.00346242 },
+    { "time": 2.739954648, "duration": 0.0, "confidence": 1.0, "value": 0.00348647 },
+    { "time": 2.763174603, "duration": 0.0, "confidence": 1.0, "value": 0.0034772 },
+    { "time": 2.786394557, "duration": 0.0, "confidence": 1.0, "value": 0.00344762 },
+    { "time": 2.809614512, "duration": 0.0, "confidence": 1.0, "value": 0.00352104 },
+    { "time": 2.832834467, "duration": 0.0, "confidence": 1.0, "value": 0.00355933 },
+    { "time": 2.856054421, "duration": 0.0, "confidence": 1.0, "value": 0.00340756 },
+    { "time": 2.879274376, "duration": 0.0, "confidence": 1.0, "value": 0.00349975 },
+    { "time": 2.902494331, "duration": 0.0, "confidence": 1.0, "value": 0.00348265 },
+    { "time": 2.925714285, "duration": 0.0, "confidence": 1.0, "value": 0.00354504 },
+    { "time": 2.948934240, "duration": 0.0, "confidence": 1.0, "value": 0.00349364 },
+    { "time": 2.972154195, "duration": 0.0, "confidence": 1.0, "value": 0.00349891 },
+    { "time": 2.995374149, "duration": 0.0, "confidence": 1.0, "value": 0.00356645 },
+    { "time": 3.018594104, "duration": 0.0, "confidence": 1.0, "value": 0.00353567 },
+    { "time": 3.041814058, "duration": 0.0, "confidence": 1.0, "value": 0.00360318 },
+    { "time": 3.065034013, "duration": 0.0, "confidence": 1.0, "value": 0.00359901 },
+    { "time": 3.088253968, "duration": 0.0, "confidence": 1.0, "value": 0.00349811 },
+    { "time": 3.111473922, "duration": 0.0, "confidence": 1.0, "value": 0.00358849 },
+    { "time": 3.134693877, "duration": 0.0, "confidence": 1.0, "value": 0.00359128 },
+    { "time": 3.157913832, "duration": 0.0, "confidence": 1.0, "value": 0.00352523 },
+    { "time": 3.181133786, "duration": 0.0, "confidence": 1.0, "value": 0.00360644 },
+    { "time": 3.204353741, "duration": 0.0, "confidence": 1.0, "value": 0.00351975 },
+    { "time": 3.227573696, "duration": 0.0, "confidence": 1.0, "value": 0.00360961 },
+    { "time": 3.250793650, "duration": 0.0, "confidence": 1.0, "value": 0.00353225 },
+    { "time": 3.274013605, "duration": 0.0, "confidence": 1.0, "value": 0.00356697 },
+    { "time": 3.297233560, "duration": 0.0, "confidence": 1.0, "value": 0.00342544 },
+    { "time": 3.320453514, "duration": 0.0, "confidence": 1.0, "value": 0.00356122 },
+    { "time": 3.343673469, "duration": 0.0, "confidence": 1.0, "value": 0.00357135 },
+    { "time": 3.366893424, "duration": 0.0, "confidence": 1.0, "value": 0.00352669 },
+    { "time": 3.390113378, "duration": 0.0, "confidence": 1.0, "value": 0.00359497 },
+    { "time": 3.413333333, "duration": 0.0, "confidence": 1.0, "value": 0.00357022 },
+    { "time": 3.436553287, "duration": 0.0, "confidence": 1.0, "value": 0.00350066 },
+    { "time": 3.459773242, "duration": 0.0, "confidence": 1.0, "value": 0.00349705 },
+    { "time": 3.482993197, "duration": 0.0, "confidence": 1.0, "value": 0.00350598 },
+    { "time": 3.506213151, "duration": 0.0, "confidence": 1.0, "value": 0.00357775 },
+    { "time": 3.529433106, "duration": 0.0, "confidence": 1.0, "value": 0.00352816 },
+    { "time": 3.552653061, "duration": 0.0, "confidence": 1.0, "value": 0.00358455 },
+    { "time": 3.575873015, "duration": 0.0, "confidence": 1.0, "value": 0.00348071 },
+    { "time": 3.599092970, "duration": 0.0, "confidence": 1.0, "value": 0.00355185 },
+    { "time": 3.622312925, "duration": 0.0, "confidence": 1.0, "value": 0.00350845 },
+    { "time": 3.645532879, "duration": 0.0, "confidence": 1.0, "value": 0.00360378 },
+    { "time": 3.668752834, "duration": 0.0, "confidence": 1.0, "value": 0.00333629 },
+    { "time": 3.691972789, "duration": 0.0, "confidence": 1.0, "value": 0.00341339 },
+    { "time": 3.715192743, "duration": 0.0, "confidence": 1.0, "value": 0.00345791 },
+    { "time": 3.738412698, "duration": 0.0, "confidence": 1.0, "value": 0.00348351 },
+    { "time": 3.761632653, "duration": 0.0, "confidence": 1.0, "value": 0.00349349 },
+    { "time": 3.784852607, "duration": 0.0, "confidence": 1.0, "value": 0.00354578 },
+    { "time": 3.808072562, "duration": 0.0, "confidence": 1.0, "value": 0.00363189 },
+    { "time": 3.831292517, "duration": 0.0, "confidence": 1.0, "value": 0.00352206 },
+    { "time": 3.854512471, "duration": 0.0, "confidence": 1.0, "value": 0.00369021 },
+    { "time": 3.877732426, "duration": 0.0, "confidence": 1.0, "value": 0.00351326 },
+    { "time": 3.900952380, "duration": 0.0, "confidence": 1.0, "value": 0.00356962 },
+    { "time": 3.924172335, "duration": 0.0, "confidence": 1.0, "value": 0.00357592 },
+    { "time": 3.947392290, "duration": 0.0, "confidence": 1.0, "value": 0.00349988 },
+    { "time": 3.970612244, "duration": 0.0, "confidence": 1.0, "value": 0.00349944 },
+    { "time": 3.993832199, "duration": 0.0, "confidence": 1.0, "value": 0.00355037 },
+    { "time": 4.017052154, "duration": 0.0, "confidence": 1.0, "value": 0.00360133 },
+    { "time": 4.040272108, "duration": 0.0, "confidence": 1.0, "value": 0.00354759 },
+    { "time": 4.063492063, "duration": 0.0, "confidence": 1.0, "value": 0.00354953 },
+    { "time": 4.086712018, "duration": 0.0, "confidence": 1.0, "value": 0.0035587 },
+    { "time": 4.109931972, "duration": 0.0, "confidence": 1.0, "value": 0.00364969 },
+    { "time": 4.133151927, "duration": 0.0, "confidence": 1.0, "value": 0.00345758 },
+    { "time": 4.156371882, "duration": 0.0, "confidence": 1.0, "value": 0.00347695 },
+    { "time": 4.179591836, "duration": 0.0, "confidence": 1.0, "value": 0.00359545 },
+    { "time": 4.202811791, "duration": 0.0, "confidence": 1.0, "value": 0.00353286 },
+    { "time": 4.226031746, "duration": 0.0, "confidence": 1.0, "value": 0.00366958 },
+    { "time": 4.249251700, "duration": 0.0, "confidence": 1.0, "value": 0.00350838 },
+    { "time": 4.272471655, "duration": 0.0, "confidence": 1.0, "value": 0.00353147 },
+    { "time": 4.295691609, "duration": 0.0, "confidence": 1.0, "value": 0.0036185 },
+    { "time": 4.318911564, "duration": 0.0, "confidence": 1.0, "value": 0.00349132 },
+    { "time": 4.342131519, "duration": 0.0, "confidence": 1.0, "value": 0.00353897 },
+    { "time": 4.365351473, "duration": 0.0, "confidence": 1.0, "value": 0.00347904 },
+    { "time": 4.388571428, "duration": 0.0, "confidence": 1.0, "value": 0.00348759 },
+    { "time": 4.411791383, "duration": 0.0, "confidence": 1.0, "value": 0.00358541 },
+    { "time": 4.435011337, "duration": 0.0, "confidence": 1.0, "value": 0.00349229 },
+    { "time": 4.458231292, "duration": 0.0, "confidence": 1.0, "value": 0.00357759 },
+    { "time": 4.481451247, "duration": 0.0, "confidence": 1.0, "value": 0.00355427 },
+    { "time": 4.504671201, "duration": 0.0, "confidence": 1.0, "value": 0.00355063 },
+    { "time": 4.527891156, "duration": 0.0, "confidence": 1.0, "value": 0.00358087 },
+    { "time": 4.551111111, "duration": 0.0, "confidence": 1.0, "value": 0.00350815 },
+    { "time": 4.574331065, "duration": 0.0, "confidence": 1.0, "value": 0.00353843 },
+    { "time": 4.597551020, "duration": 0.0, "confidence": 1.0, "value": 0.00354201 },
+    { "time": 4.620770975, "duration": 0.0, "confidence": 1.0, "value": 0.00350497 },
+    { "time": 4.643990929, "duration": 0.0, "confidence": 1.0, "value": 0.00354671 },
+    { "time": 4.667210884, "duration": 0.0, "confidence": 1.0, "value": 0.00353596 },
+    { "time": 4.690430839, "duration": 0.0, "confidence": 1.0, "value": 0.00347371 },
+    { "time": 4.713650793, "duration": 0.0, "confidence": 1.0, "value": 0.0035368 },
+    { "time": 4.736870748, "duration": 0.0, "confidence": 1.0, "value": 0.00360017 },
+    { "time": 4.760090702, "duration": 0.0, "confidence": 1.0, "value": 0.00352821 },
+    { "time": 4.783310657, "duration": 0.0, "confidence": 1.0, "value": 0.00359332 },
+    { "time": 4.806530612, "duration": 0.0, "confidence": 1.0, "value": 0.00353742 },
+    { "time": 4.829750566, "duration": 0.0, "confidence": 1.0, "value": 0.00353795 },
+    { "time": 4.852970521, "duration": 0.0, "confidence": 1.0, "value": 0.00348792 },
+    { "time": 4.876190476, "duration": 0.0, "confidence": 1.0, "value": 0.0034639 },
+    { "time": 4.899410430, "duration": 0.0, "confidence": 1.0, "value": 0.0036387 },
+    { "time": 4.922630385, "duration": 0.0, "confidence": 1.0, "value": 0.00354102 },
+    { "time": 4.945850340, "duration": 0.0, "confidence": 1.0, "value": 0.00351475 },
+    { "time": 4.969070294, "duration": 0.0, "confidence": 1.0, "value": 0.00356904 }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/af-2.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/af-2.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "3clicks8.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "3clicks8.wav" },
+  "duration": 4.979659863
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -17,221 +20,221 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.023219954 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.046439909 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.069659863 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.092879818 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.116099773 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.139319727 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.162539682 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.185759637 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.208979591 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.232199546 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.255419501 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.278639455 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.301859410 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.325079365 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.348299319 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.371519274 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.394739229 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.417959183 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.441179138 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.464399092 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.487619047 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.510839002 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.534058956 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.557278911 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.580498866 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.603718820 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.626938775 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.650158730 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.673378684 }, "value": [ 0.0037 ] },
-    { "time": { "value": 0.696598639 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.719818594 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.743038548 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.766258503 }, "value": [ 0.015 ] },
-    { "time": { "value": 0.789478458 }, "value": [ 0.0046 ] },
-    { "time": { "value": 0.812698412 }, "value": [ 0.0034 ] },
-    { "time": { "value": 0.835918367 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.859138321 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.882358276 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.905578231 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.928798185 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.952018140 }, "value": [ 0.0035 ] },
-    { "time": { "value": 0.975238095 }, "value": [ 0.0036 ] },
-    { "time": { "value": 0.998458049 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.021678004 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.044897959 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.068117913 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.091337868 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.114557823 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.137777777 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.160997732 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.184217687 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.207437641 }, "value": [ 0.0034 ] },
-    { "time": { "value": 1.230657596 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.253877551 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.277097505 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.300317460 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.323537414 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.346757369 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.369977324 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.393197278 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.416417233 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.439637188 }, "value": [ 0.0037 ] },
-    { "time": { "value": 1.462857142 }, "value": [ 0.0037 ] },
-    { "time": { "value": 1.486077097 }, "value": [ 0.0034 ] },
-    { "time": { "value": 1.509297052 }, "value": [ 0.0034 ] },
-    { "time": { "value": 1.532517006 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.555736961 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.578956916 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.602176870 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.625396825 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.648616780 }, "value": [ 0.012 ] },
-    { "time": { "value": 1.671836734 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.695056689 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.718276643 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.741496598 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.764716553 }, "value": [ 0.0034 ] },
-    { "time": { "value": 1.787936507 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.811156462 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.834376417 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.857596371 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.880816326 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.904036281 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.927256235 }, "value": [ 0.0035 ] },
-    { "time": { "value": 1.950476190 }, "value": [ 0.0037 ] },
-    { "time": { "value": 1.973696145 }, "value": [ 0.0036 ] },
-    { "time": { "value": 1.996916099 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.020136054 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.043356009 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.066575963 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.089795918 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.113015873 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.136235827 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.159455782 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.182675736 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.205895691 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.229115646 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.252335600 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.275555555 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.298775510 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.321995464 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.345215419 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.368435374 }, "value": [ 0.0037 ] },
-    { "time": { "value": 2.391655328 }, "value": [ 0.0062 ] },
-    { "time": { "value": 2.414875283 }, "value": [ 0.014 ] },
-    { "time": { "value": 2.438095238 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.461315192 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.484535147 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.507755102 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.530975056 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.554195011 }, "value": [ 0.0037 ] },
-    { "time": { "value": 2.577414965 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.600634920 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.623854875 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.647074829 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.670294784 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.693514739 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.716734693 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.739954648 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.763174603 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.786394557 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.809614512 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.832834467 }, "value": [ 0.0036 ] },
-    { "time": { "value": 2.856054421 }, "value": [ 0.0034 ] },
-    { "time": { "value": 2.879274376 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.902494331 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.925714285 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.948934240 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.972154195 }, "value": [ 0.0035 ] },
-    { "time": { "value": 2.995374149 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.018594104 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.041814058 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.065034013 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.088253968 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.111473922 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.134693877 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.157913832 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.181133786 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.204353741 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.227573696 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.250793650 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.274013605 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.297233560 }, "value": [ 0.0034 ] },
-    { "time": { "value": 3.320453514 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.343673469 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.366893424 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.390113378 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.413333333 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.436553287 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.459773242 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.482993197 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.506213151 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.529433106 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.552653061 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.575873015 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.599092970 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.622312925 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.645532879 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.668752834 }, "value": [ 0.0033 ] },
-    { "time": { "value": 3.691972789 }, "value": [ 0.0034 ] },
-    { "time": { "value": 3.715192743 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.738412698 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.761632653 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.784852607 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.808072562 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.831292517 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.854512471 }, "value": [ 0.0037 ] },
-    { "time": { "value": 3.877732426 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.900952380 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.924172335 }, "value": [ 0.0036 ] },
-    { "time": { "value": 3.947392290 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.970612244 }, "value": [ 0.0035 ] },
-    { "time": { "value": 3.993832199 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.017052154 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.040272108 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.063492063 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.086712018 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.109931972 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.133151927 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.156371882 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.179591836 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.202811791 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.226031746 }, "value": [ 0.0037 ] },
-    { "time": { "value": 4.249251700 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.272471655 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.295691609 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.318911564 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.342131519 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.365351473 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.388571428 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.411791383 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.435011337 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.458231292 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.481451247 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.504671201 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.527891156 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.551111111 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.574331065 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.597551020 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.620770975 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.643990929 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.667210884 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.690430839 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.713650793 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.736870748 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.760090702 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.783310657 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.806530612 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.829750566 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.852970521 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.876190476 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.899410430 }, "value": [ 0.0036 ] },
-    { "time": { "value": 4.922630385 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.945850340 }, "value": [ 0.0035 ] },
-    { "time": { "value": 4.969070294 }, "value": [ 0.0036 ] }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.023219954, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.046439909, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.069659863, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.092879818, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.116099773, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.139319727, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.162539682, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.185759637, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.208979591, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.232199546, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.255419501, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.278639455, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.301859410, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.325079365, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.348299319, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.371519274, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.394739229, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.417959183, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.441179138, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.464399092, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.487619047, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.510839002, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.534058956, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.557278911, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.580498866, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.603718820, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.626938775, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.650158730, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.673378684, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 0.696598639, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.719818594, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.743038548, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.766258503, "duration": 0.0, "confidence": 1.0, "value": 0.015 },
+    { "time": 0.789478458, "duration": 0.0, "confidence": 1.0, "value": 0.0046 },
+    { "time": 0.812698412, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 0.835918367, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.859138321, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.882358276, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.905578231, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.928798185, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.952018140, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 0.975238095, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 0.998458049, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.021678004, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.044897959, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.068117913, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.091337868, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.114557823, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.137777777, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.160997732, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.184217687, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.207437641, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 1.230657596, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.253877551, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.277097505, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.300317460, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.323537414, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.346757369, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.369977324, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.393197278, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.416417233, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.439637188, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 1.462857142, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 1.486077097, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 1.509297052, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 1.532517006, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.555736961, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.578956916, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.602176870, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.625396825, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.648616780, "duration": 0.0, "confidence": 1.0, "value": 0.012 },
+    { "time": 1.671836734, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.695056689, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.718276643, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.741496598, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.764716553, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 1.787936507, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.811156462, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.834376417, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.857596371, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.880816326, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.904036281, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.927256235, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 1.950476190, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 1.973696145, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 1.996916099, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.020136054, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.043356009, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.066575963, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.089795918, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.113015873, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.136235827, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.159455782, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.182675736, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.205895691, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.229115646, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.252335600, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.275555555, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.298775510, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.321995464, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.345215419, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.368435374, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 2.391655328, "duration": 0.0, "confidence": 1.0, "value": 0.0062 },
+    { "time": 2.414875283, "duration": 0.0, "confidence": 1.0, "value": 0.014 },
+    { "time": 2.438095238, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.461315192, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.484535147, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.507755102, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.530975056, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.554195011, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 2.577414965, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.600634920, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.623854875, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.647074829, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.670294784, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.693514739, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.716734693, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.739954648, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.763174603, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.786394557, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.809614512, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.832834467, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 2.856054421, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 2.879274376, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.902494331, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.925714285, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.948934240, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.972154195, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 2.995374149, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.018594104, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.041814058, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.065034013, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.088253968, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.111473922, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.134693877, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.157913832, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.181133786, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.204353741, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.227573696, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.250793650, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.274013605, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.297233560, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 3.320453514, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.343673469, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.366893424, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.390113378, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.413333333, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.436553287, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.459773242, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.482993197, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.506213151, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.529433106, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.552653061, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.575873015, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.599092970, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.622312925, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.645532879, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.668752834, "duration": 0.0, "confidence": 1.0, "value": 0.0033 },
+    { "time": 3.691972789, "duration": 0.0, "confidence": 1.0, "value": 0.0034 },
+    { "time": 3.715192743, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.738412698, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.761632653, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.784852607, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.808072562, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.831292517, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.854512471, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 3.877732426, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.900952380, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.924172335, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 3.947392290, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.970612244, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 3.993832199, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.017052154, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.040272108, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.063492063, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.086712018, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.109931972, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.133151927, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.156371882, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.179591836, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.202811791, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.226031746, "duration": 0.0, "confidence": 1.0, "value": 0.0037 },
+    { "time": 4.249251700, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.272471655, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.295691609, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.318911564, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.342131519, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.365351473, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.388571428, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.411791383, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.435011337, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.458231292, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.481451247, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.504671201, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.527891156, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.551111111, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.574331065, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.597551020, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.620770975, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.643990929, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.667210884, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.690430839, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.713650793, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.736870748, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.760090702, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.783310657, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.806530612, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.829750566, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.852970521, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.876190476, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.899410430, "duration": 0.0, "confidence": 1.0, "value": 0.0036 },
+    { "time": 4.922630385, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.945850340, "duration": 0.0, "confidence": 1.0, "value": 0.0035 },
+    { "time": 4.969070294, "duration": 0.0, "confidence": 1.0, "value": 0.0036 }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/af-6.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/af-6.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "3clicks8.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "3clicks8.wav" },
+  "duration": 4.979659863
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -17,221 +20,221 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "value": [ 0.00359596 ] },
-    { "time": { "value": 0.023219954 }, "value": [ 0.00351864 ] },
-    { "time": { "value": 0.046439909 }, "value": [ 0.00357167 ] },
-    { "time": { "value": 0.069659863 }, "value": [ 0.00358918 ] },
-    { "time": { "value": 0.092879818 }, "value": [ 0.00359586 ] },
-    { "time": { "value": 0.116099773 }, "value": [ 0.00352171 ] },
-    { "time": { "value": 0.139319727 }, "value": [ 0.00353074 ] },
-    { "time": { "value": 0.162539682 }, "value": [ 0.00354993 ] },
-    { "time": { "value": 0.185759637 }, "value": [ 0.00354264 ] },
-    { "time": { "value": 0.208979591 }, "value": [ 0.00352689 ] },
-    { "time": { "value": 0.232199546 }, "value": [ 0.00360165 ] },
-    { "time": { "value": 0.255419501 }, "value": [ 0.00361172 ] },
-    { "time": { "value": 0.278639455 }, "value": [ 0.00361564 ] },
-    { "time": { "value": 0.301859410 }, "value": [ 0.0035339 ] },
-    { "time": { "value": 0.325079365 }, "value": [ 0.00361025 ] },
-    { "time": { "value": 0.348299319 }, "value": [ 0.00352643 ] },
-    { "time": { "value": 0.371519274 }, "value": [ 0.00355937 ] },
-    { "time": { "value": 0.394739229 }, "value": [ 0.00353683 ] },
-    { "time": { "value": 0.417959183 }, "value": [ 0.00358946 ] },
-    { "time": { "value": 0.441179138 }, "value": [ 0.00363629 ] },
-    { "time": { "value": 0.464399092 }, "value": [ 0.00354152 ] },
-    { "time": { "value": 0.487619047 }, "value": [ 0.00348666 ] },
-    { "time": { "value": 0.510839002 }, "value": [ 0.00352516 ] },
-    { "time": { "value": 0.534058956 }, "value": [ 0.00352261 ] },
-    { "time": { "value": 0.557278911 }, "value": [ 0.00350301 ] },
-    { "time": { "value": 0.580498866 }, "value": [ 0.00352414 ] },
-    { "time": { "value": 0.603718820 }, "value": [ 0.00351352 ] },
-    { "time": { "value": 0.626938775 }, "value": [ 0.00345411 ] },
-    { "time": { "value": 0.650158730 }, "value": [ 0.00363914 ] },
-    { "time": { "value": 0.673378684 }, "value": [ 0.00370925 ] },
-    { "time": { "value": 0.696598639 }, "value": [ 0.00348075 ] },
-    { "time": { "value": 0.719818594 }, "value": [ 0.0034814 ] },
-    { "time": { "value": 0.743038548 }, "value": [ 0.00362525 ] },
-    { "time": { "value": 0.766258503 }, "value": [ 0.0146151 ] },
-    { "time": { "value": 0.789478458 }, "value": [ 0.00458446 ] },
-    { "time": { "value": 0.812698412 }, "value": [ 0.00342316 ] },
-    { "time": { "value": 0.835918367 }, "value": [ 0.0036135 ] },
-    { "time": { "value": 0.859138321 }, "value": [ 0.00352045 ] },
-    { "time": { "value": 0.882358276 }, "value": [ 0.0036266 ] },
-    { "time": { "value": 0.905578231 }, "value": [ 0.00357805 ] },
-    { "time": { "value": 0.928798185 }, "value": [ 0.00355937 ] },
-    { "time": { "value": 0.952018140 }, "value": [ 0.00350579 ] },
-    { "time": { "value": 0.975238095 }, "value": [ 0.00359969 ] },
-    { "time": { "value": 0.998458049 }, "value": [ 0.00352854 ] },
-    { "time": { "value": 1.021678004 }, "value": [ 0.00353486 ] },
-    { "time": { "value": 1.044897959 }, "value": [ 0.00355259 ] },
-    { "time": { "value": 1.068117913 }, "value": [ 0.00347951 ] },
-    { "time": { "value": 1.091337868 }, "value": [ 0.00361734 ] },
-    { "time": { "value": 1.114557823 }, "value": [ 0.00351861 ] },
-    { "time": { "value": 1.137777777 }, "value": [ 0.00351437 ] },
-    { "time": { "value": 1.160997732 }, "value": [ 0.00352971 ] },
-    { "time": { "value": 1.184217687 }, "value": [ 0.00360414 ] },
-    { "time": { "value": 1.207437641 }, "value": [ 0.0034343 ] },
-    { "time": { "value": 1.230657596 }, "value": [ 0.00358201 ] },
-    { "time": { "value": 1.253877551 }, "value": [ 0.00361252 ] },
-    { "time": { "value": 1.277097505 }, "value": [ 0.00361165 ] },
-    { "time": { "value": 1.300317460 }, "value": [ 0.00355763 ] },
-    { "time": { "value": 1.323537414 }, "value": [ 0.00353226 ] },
-    { "time": { "value": 1.346757369 }, "value": [ 0.00349109 ] },
-    { "time": { "value": 1.369977324 }, "value": [ 0.00352628 ] },
-    { "time": { "value": 1.393197278 }, "value": [ 0.00348415 ] },
-    { "time": { "value": 1.416417233 }, "value": [ 0.00354576 ] },
-    { "time": { "value": 1.439637188 }, "value": [ 0.00369414 ] },
-    { "time": { "value": 1.462857142 }, "value": [ 0.00367139 ] },
-    { "time": { "value": 1.486077097 }, "value": [ 0.00342798 ] },
-    { "time": { "value": 1.509297052 }, "value": [ 0.00338209 ] },
-    { "time": { "value": 1.532517006 }, "value": [ 0.00351023 ] },
-    { "time": { "value": 1.555736961 }, "value": [ 0.00346643 ] },
-    { "time": { "value": 1.578956916 }, "value": [ 0.00346979 ] },
-    { "time": { "value": 1.602176870 }, "value": [ 0.00348269 ] },
-    { "time": { "value": 1.625396825 }, "value": [ 0.00348368 ] },
-    { "time": { "value": 1.648616780 }, "value": [ 0.01162 ] },
-    { "time": { "value": 1.671836734 }, "value": [ 0.00359211 ] },
-    { "time": { "value": 1.695056689 }, "value": [ 0.00360249 ] },
-    { "time": { "value": 1.718276643 }, "value": [ 0.00352957 ] },
-    { "time": { "value": 1.741496598 }, "value": [ 0.00349559 ] },
-    { "time": { "value": 1.764716553 }, "value": [ 0.00344387 ] },
-    { "time": { "value": 1.787936507 }, "value": [ 0.00352666 ] },
-    { "time": { "value": 1.811156462 }, "value": [ 0.0035248 ] },
-    { "time": { "value": 1.834376417 }, "value": [ 0.00353289 ] },
-    { "time": { "value": 1.857596371 }, "value": [ 0.00353361 ] },
-    { "time": { "value": 1.880816326 }, "value": [ 0.00348838 ] },
-    { "time": { "value": 1.904036281 }, "value": [ 0.00355124 ] },
-    { "time": { "value": 1.927256235 }, "value": [ 0.00349487 ] },
-    { "time": { "value": 1.950476190 }, "value": [ 0.0036614 ] },
-    { "time": { "value": 1.973696145 }, "value": [ 0.00358802 ] },
-    { "time": { "value": 1.996916099 }, "value": [ 0.00351078 ] },
-    { "time": { "value": 2.020136054 }, "value": [ 0.00351788 ] },
-    { "time": { "value": 2.043356009 }, "value": [ 0.00345998 ] },
-    { "time": { "value": 2.066575963 }, "value": [ 0.00359541 ] },
-    { "time": { "value": 2.089795918 }, "value": [ 0.00363803 ] },
-    { "time": { "value": 2.113015873 }, "value": [ 0.00341127 ] },
-    { "time": { "value": 2.136235827 }, "value": [ 0.00358579 ] },
-    { "time": { "value": 2.159455782 }, "value": [ 0.00358391 ] },
-    { "time": { "value": 2.182675736 }, "value": [ 0.00349291 ] },
-    { "time": { "value": 2.205895691 }, "value": [ 0.00350593 ] },
-    { "time": { "value": 2.229115646 }, "value": [ 0.00347529 ] },
-    { "time": { "value": 2.252335600 }, "value": [ 0.00358021 ] },
-    { "time": { "value": 2.275555555 }, "value": [ 0.00353051 ] },
-    { "time": { "value": 2.298775510 }, "value": [ 0.00360463 ] },
-    { "time": { "value": 2.321995464 }, "value": [ 0.00357421 ] },
-    { "time": { "value": 2.345215419 }, "value": [ 0.00343617 ] },
-    { "time": { "value": 2.368435374 }, "value": [ 0.00367464 ] },
-    { "time": { "value": 2.391655328 }, "value": [ 0.00623882 ] },
-    { "time": { "value": 2.414875283 }, "value": [ 0.0139992 ] },
-    { "time": { "value": 2.438095238 }, "value": [ 0.00347958 ] },
-    { "time": { "value": 2.461315192 }, "value": [ 0.00348231 ] },
-    { "time": { "value": 2.484535147 }, "value": [ 0.0035482 ] },
-    { "time": { "value": 2.507755102 }, "value": [ 0.00350744 ] },
-    { "time": { "value": 2.530975056 }, "value": [ 0.00342298 ] },
-    { "time": { "value": 2.554195011 }, "value": [ 0.00366419 ] },
-    { "time": { "value": 2.577414965 }, "value": [ 0.0034377 ] },
-    { "time": { "value": 2.600634920 }, "value": [ 0.00356318 ] },
-    { "time": { "value": 2.623854875 }, "value": [ 0.00354368 ] },
-    { "time": { "value": 2.647074829 }, "value": [ 0.00360324 ] },
-    { "time": { "value": 2.670294784 }, "value": [ 0.00354322 ] },
-    { "time": { "value": 2.693514739 }, "value": [ 0.0035675 ] },
-    { "time": { "value": 2.716734693 }, "value": [ 0.00346242 ] },
-    { "time": { "value": 2.739954648 }, "value": [ 0.00348647 ] },
-    { "time": { "value": 2.763174603 }, "value": [ 0.0034772 ] },
-    { "time": { "value": 2.786394557 }, "value": [ 0.00344762 ] },
-    { "time": { "value": 2.809614512 }, "value": [ 0.00352104 ] },
-    { "time": { "value": 2.832834467 }, "value": [ 0.00355933 ] },
-    { "time": { "value": 2.856054421 }, "value": [ 0.00340756 ] },
-    { "time": { "value": 2.879274376 }, "value": [ 0.00349975 ] },
-    { "time": { "value": 2.902494331 }, "value": [ 0.00348265 ] },
-    { "time": { "value": 2.925714285 }, "value": [ 0.00354504 ] },
-    { "time": { "value": 2.948934240 }, "value": [ 0.00349364 ] },
-    { "time": { "value": 2.972154195 }, "value": [ 0.00349891 ] },
-    { "time": { "value": 2.995374149 }, "value": [ 0.00356645 ] },
-    { "time": { "value": 3.018594104 }, "value": [ 0.00353567 ] },
-    { "time": { "value": 3.041814058 }, "value": [ 0.00360318 ] },
-    { "time": { "value": 3.065034013 }, "value": [ 0.00359901 ] },
-    { "time": { "value": 3.088253968 }, "value": [ 0.00349811 ] },
-    { "time": { "value": 3.111473922 }, "value": [ 0.00358849 ] },
-    { "time": { "value": 3.134693877 }, "value": [ 0.00359128 ] },
-    { "time": { "value": 3.157913832 }, "value": [ 0.00352523 ] },
-    { "time": { "value": 3.181133786 }, "value": [ 0.00360644 ] },
-    { "time": { "value": 3.204353741 }, "value": [ 0.00351975 ] },
-    { "time": { "value": 3.227573696 }, "value": [ 0.00360961 ] },
-    { "time": { "value": 3.250793650 }, "value": [ 0.00353225 ] },
-    { "time": { "value": 3.274013605 }, "value": [ 0.00356697 ] },
-    { "time": { "value": 3.297233560 }, "value": [ 0.00342544 ] },
-    { "time": { "value": 3.320453514 }, "value": [ 0.00356122 ] },
-    { "time": { "value": 3.343673469 }, "value": [ 0.00357135 ] },
-    { "time": { "value": 3.366893424 }, "value": [ 0.00352669 ] },
-    { "time": { "value": 3.390113378 }, "value": [ 0.00359497 ] },
-    { "time": { "value": 3.413333333 }, "value": [ 0.00357022 ] },
-    { "time": { "value": 3.436553287 }, "value": [ 0.00350066 ] },
-    { "time": { "value": 3.459773242 }, "value": [ 0.00349705 ] },
-    { "time": { "value": 3.482993197 }, "value": [ 0.00350598 ] },
-    { "time": { "value": 3.506213151 }, "value": [ 0.00357775 ] },
-    { "time": { "value": 3.529433106 }, "value": [ 0.00352816 ] },
-    { "time": { "value": 3.552653061 }, "value": [ 0.00358455 ] },
-    { "time": { "value": 3.575873015 }, "value": [ 0.00348071 ] },
-    { "time": { "value": 3.599092970 }, "value": [ 0.00355185 ] },
-    { "time": { "value": 3.622312925 }, "value": [ 0.00350845 ] },
-    { "time": { "value": 3.645532879 }, "value": [ 0.00360378 ] },
-    { "time": { "value": 3.668752834 }, "value": [ 0.00333629 ] },
-    { "time": { "value": 3.691972789 }, "value": [ 0.00341339 ] },
-    { "time": { "value": 3.715192743 }, "value": [ 0.00345791 ] },
-    { "time": { "value": 3.738412698 }, "value": [ 0.00348351 ] },
-    { "time": { "value": 3.761632653 }, "value": [ 0.00349349 ] },
-    { "time": { "value": 3.784852607 }, "value": [ 0.00354578 ] },
-    { "time": { "value": 3.808072562 }, "value": [ 0.00363189 ] },
-    { "time": { "value": 3.831292517 }, "value": [ 0.00352206 ] },
-    { "time": { "value": 3.854512471 }, "value": [ 0.00369021 ] },
-    { "time": { "value": 3.877732426 }, "value": [ 0.00351326 ] },
-    { "time": { "value": 3.900952380 }, "value": [ 0.00356962 ] },
-    { "time": { "value": 3.924172335 }, "value": [ 0.00357592 ] },
-    { "time": { "value": 3.947392290 }, "value": [ 0.00349988 ] },
-    { "time": { "value": 3.970612244 }, "value": [ 0.00349944 ] },
-    { "time": { "value": 3.993832199 }, "value": [ 0.00355037 ] },
-    { "time": { "value": 4.017052154 }, "value": [ 0.00360133 ] },
-    { "time": { "value": 4.040272108 }, "value": [ 0.00354759 ] },
-    { "time": { "value": 4.063492063 }, "value": [ 0.00354953 ] },
-    { "time": { "value": 4.086712018 }, "value": [ 0.0035587 ] },
-    { "time": { "value": 4.109931972 }, "value": [ 0.00364969 ] },
-    { "time": { "value": 4.133151927 }, "value": [ 0.00345758 ] },
-    { "time": { "value": 4.156371882 }, "value": [ 0.00347695 ] },
-    { "time": { "value": 4.179591836 }, "value": [ 0.00359545 ] },
-    { "time": { "value": 4.202811791 }, "value": [ 0.00353286 ] },
-    { "time": { "value": 4.226031746 }, "value": [ 0.00366958 ] },
-    { "time": { "value": 4.249251700 }, "value": [ 0.00350838 ] },
-    { "time": { "value": 4.272471655 }, "value": [ 0.00353147 ] },
-    { "time": { "value": 4.295691609 }, "value": [ 0.0036185 ] },
-    { "time": { "value": 4.318911564 }, "value": [ 0.00349132 ] },
-    { "time": { "value": 4.342131519 }, "value": [ 0.00353897 ] },
-    { "time": { "value": 4.365351473 }, "value": [ 0.00347904 ] },
-    { "time": { "value": 4.388571428 }, "value": [ 0.00348759 ] },
-    { "time": { "value": 4.411791383 }, "value": [ 0.00358541 ] },
-    { "time": { "value": 4.435011337 }, "value": [ 0.00349229 ] },
-    { "time": { "value": 4.458231292 }, "value": [ 0.00357759 ] },
-    { "time": { "value": 4.481451247 }, "value": [ 0.00355427 ] },
-    { "time": { "value": 4.504671201 }, "value": [ 0.00355063 ] },
-    { "time": { "value": 4.527891156 }, "value": [ 0.00358087 ] },
-    { "time": { "value": 4.551111111 }, "value": [ 0.00350815 ] },
-    { "time": { "value": 4.574331065 }, "value": [ 0.00353843 ] },
-    { "time": { "value": 4.597551020 }, "value": [ 0.00354201 ] },
-    { "time": { "value": 4.620770975 }, "value": [ 0.00350497 ] },
-    { "time": { "value": 4.643990929 }, "value": [ 0.00354671 ] },
-    { "time": { "value": 4.667210884 }, "value": [ 0.00353596 ] },
-    { "time": { "value": 4.690430839 }, "value": [ 0.00347371 ] },
-    { "time": { "value": 4.713650793 }, "value": [ 0.0035368 ] },
-    { "time": { "value": 4.736870748 }, "value": [ 0.00360017 ] },
-    { "time": { "value": 4.760090702 }, "value": [ 0.00352821 ] },
-    { "time": { "value": 4.783310657 }, "value": [ 0.00359332 ] },
-    { "time": { "value": 4.806530612 }, "value": [ 0.00353742 ] },
-    { "time": { "value": 4.829750566 }, "value": [ 0.00353795 ] },
-    { "time": { "value": 4.852970521 }, "value": [ 0.00348792 ] },
-    { "time": { "value": 4.876190476 }, "value": [ 0.0034639 ] },
-    { "time": { "value": 4.899410430 }, "value": [ 0.0036387 ] },
-    { "time": { "value": 4.922630385 }, "value": [ 0.00354102 ] },
-    { "time": { "value": 4.945850340 }, "value": [ 0.00351475 ] },
-    { "time": { "value": 4.969070294 }, "value": [ 0.00356904 ] }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": 0.00359596 },
+    { "time": 0.023219954, "duration": 0.0, "confidence": 1.0, "value": 0.00351864 },
+    { "time": 0.046439909, "duration": 0.0, "confidence": 1.0, "value": 0.00357167 },
+    { "time": 0.069659863, "duration": 0.0, "confidence": 1.0, "value": 0.00358918 },
+    { "time": 0.092879818, "duration": 0.0, "confidence": 1.0, "value": 0.00359586 },
+    { "time": 0.116099773, "duration": 0.0, "confidence": 1.0, "value": 0.00352171 },
+    { "time": 0.139319727, "duration": 0.0, "confidence": 1.0, "value": 0.00353074 },
+    { "time": 0.162539682, "duration": 0.0, "confidence": 1.0, "value": 0.00354993 },
+    { "time": 0.185759637, "duration": 0.0, "confidence": 1.0, "value": 0.00354264 },
+    { "time": 0.208979591, "duration": 0.0, "confidence": 1.0, "value": 0.00352689 },
+    { "time": 0.232199546, "duration": 0.0, "confidence": 1.0, "value": 0.00360165 },
+    { "time": 0.255419501, "duration": 0.0, "confidence": 1.0, "value": 0.00361172 },
+    { "time": 0.278639455, "duration": 0.0, "confidence": 1.0, "value": 0.00361564 },
+    { "time": 0.301859410, "duration": 0.0, "confidence": 1.0, "value": 0.0035339 },
+    { "time": 0.325079365, "duration": 0.0, "confidence": 1.0, "value": 0.00361025 },
+    { "time": 0.348299319, "duration": 0.0, "confidence": 1.0, "value": 0.00352643 },
+    { "time": 0.371519274, "duration": 0.0, "confidence": 1.0, "value": 0.00355937 },
+    { "time": 0.394739229, "duration": 0.0, "confidence": 1.0, "value": 0.00353683 },
+    { "time": 0.417959183, "duration": 0.0, "confidence": 1.0, "value": 0.00358946 },
+    { "time": 0.441179138, "duration": 0.0, "confidence": 1.0, "value": 0.00363629 },
+    { "time": 0.464399092, "duration": 0.0, "confidence": 1.0, "value": 0.00354152 },
+    { "time": 0.487619047, "duration": 0.0, "confidence": 1.0, "value": 0.00348666 },
+    { "time": 0.510839002, "duration": 0.0, "confidence": 1.0, "value": 0.00352516 },
+    { "time": 0.534058956, "duration": 0.0, "confidence": 1.0, "value": 0.00352261 },
+    { "time": 0.557278911, "duration": 0.0, "confidence": 1.0, "value": 0.00350301 },
+    { "time": 0.580498866, "duration": 0.0, "confidence": 1.0, "value": 0.00352414 },
+    { "time": 0.603718820, "duration": 0.0, "confidence": 1.0, "value": 0.00351352 },
+    { "time": 0.626938775, "duration": 0.0, "confidence": 1.0, "value": 0.00345411 },
+    { "time": 0.650158730, "duration": 0.0, "confidence": 1.0, "value": 0.00363914 },
+    { "time": 0.673378684, "duration": 0.0, "confidence": 1.0, "value": 0.00370925 },
+    { "time": 0.696598639, "duration": 0.0, "confidence": 1.0, "value": 0.00348075 },
+    { "time": 0.719818594, "duration": 0.0, "confidence": 1.0, "value": 0.0034814 },
+    { "time": 0.743038548, "duration": 0.0, "confidence": 1.0, "value": 0.00362525 },
+    { "time": 0.766258503, "duration": 0.0, "confidence": 1.0, "value": 0.0146151 },
+    { "time": 0.789478458, "duration": 0.0, "confidence": 1.0, "value": 0.00458446 },
+    { "time": 0.812698412, "duration": 0.0, "confidence": 1.0, "value": 0.00342316 },
+    { "time": 0.835918367, "duration": 0.0, "confidence": 1.0, "value": 0.0036135 },
+    { "time": 0.859138321, "duration": 0.0, "confidence": 1.0, "value": 0.00352045 },
+    { "time": 0.882358276, "duration": 0.0, "confidence": 1.0, "value": 0.0036266 },
+    { "time": 0.905578231, "duration": 0.0, "confidence": 1.0, "value": 0.00357805 },
+    { "time": 0.928798185, "duration": 0.0, "confidence": 1.0, "value": 0.00355937 },
+    { "time": 0.952018140, "duration": 0.0, "confidence": 1.0, "value": 0.00350579 },
+    { "time": 0.975238095, "duration": 0.0, "confidence": 1.0, "value": 0.00359969 },
+    { "time": 0.998458049, "duration": 0.0, "confidence": 1.0, "value": 0.00352854 },
+    { "time": 1.021678004, "duration": 0.0, "confidence": 1.0, "value": 0.00353486 },
+    { "time": 1.044897959, "duration": 0.0, "confidence": 1.0, "value": 0.00355259 },
+    { "time": 1.068117913, "duration": 0.0, "confidence": 1.0, "value": 0.00347951 },
+    { "time": 1.091337868, "duration": 0.0, "confidence": 1.0, "value": 0.00361734 },
+    { "time": 1.114557823, "duration": 0.0, "confidence": 1.0, "value": 0.00351861 },
+    { "time": 1.137777777, "duration": 0.0, "confidence": 1.0, "value": 0.00351437 },
+    { "time": 1.160997732, "duration": 0.0, "confidence": 1.0, "value": 0.00352971 },
+    { "time": 1.184217687, "duration": 0.0, "confidence": 1.0, "value": 0.00360414 },
+    { "time": 1.207437641, "duration": 0.0, "confidence": 1.0, "value": 0.0034343 },
+    { "time": 1.230657596, "duration": 0.0, "confidence": 1.0, "value": 0.00358201 },
+    { "time": 1.253877551, "duration": 0.0, "confidence": 1.0, "value": 0.00361252 },
+    { "time": 1.277097505, "duration": 0.0, "confidence": 1.0, "value": 0.00361165 },
+    { "time": 1.300317460, "duration": 0.0, "confidence": 1.0, "value": 0.00355763 },
+    { "time": 1.323537414, "duration": 0.0, "confidence": 1.0, "value": 0.00353226 },
+    { "time": 1.346757369, "duration": 0.0, "confidence": 1.0, "value": 0.00349109 },
+    { "time": 1.369977324, "duration": 0.0, "confidence": 1.0, "value": 0.00352628 },
+    { "time": 1.393197278, "duration": 0.0, "confidence": 1.0, "value": 0.00348415 },
+    { "time": 1.416417233, "duration": 0.0, "confidence": 1.0, "value": 0.00354576 },
+    { "time": 1.439637188, "duration": 0.0, "confidence": 1.0, "value": 0.00369414 },
+    { "time": 1.462857142, "duration": 0.0, "confidence": 1.0, "value": 0.00367139 },
+    { "time": 1.486077097, "duration": 0.0, "confidence": 1.0, "value": 0.00342798 },
+    { "time": 1.509297052, "duration": 0.0, "confidence": 1.0, "value": 0.00338209 },
+    { "time": 1.532517006, "duration": 0.0, "confidence": 1.0, "value": 0.00351023 },
+    { "time": 1.555736961, "duration": 0.0, "confidence": 1.0, "value": 0.00346643 },
+    { "time": 1.578956916, "duration": 0.0, "confidence": 1.0, "value": 0.00346979 },
+    { "time": 1.602176870, "duration": 0.0, "confidence": 1.0, "value": 0.00348269 },
+    { "time": 1.625396825, "duration": 0.0, "confidence": 1.0, "value": 0.00348368 },
+    { "time": 1.648616780, "duration": 0.0, "confidence": 1.0, "value": 0.01162 },
+    { "time": 1.671836734, "duration": 0.0, "confidence": 1.0, "value": 0.00359211 },
+    { "time": 1.695056689, "duration": 0.0, "confidence": 1.0, "value": 0.00360249 },
+    { "time": 1.718276643, "duration": 0.0, "confidence": 1.0, "value": 0.00352957 },
+    { "time": 1.741496598, "duration": 0.0, "confidence": 1.0, "value": 0.00349559 },
+    { "time": 1.764716553, "duration": 0.0, "confidence": 1.0, "value": 0.00344387 },
+    { "time": 1.787936507, "duration": 0.0, "confidence": 1.0, "value": 0.00352666 },
+    { "time": 1.811156462, "duration": 0.0, "confidence": 1.0, "value": 0.0035248 },
+    { "time": 1.834376417, "duration": 0.0, "confidence": 1.0, "value": 0.00353289 },
+    { "time": 1.857596371, "duration": 0.0, "confidence": 1.0, "value": 0.00353361 },
+    { "time": 1.880816326, "duration": 0.0, "confidence": 1.0, "value": 0.00348838 },
+    { "time": 1.904036281, "duration": 0.0, "confidence": 1.0, "value": 0.00355124 },
+    { "time": 1.927256235, "duration": 0.0, "confidence": 1.0, "value": 0.00349487 },
+    { "time": 1.950476190, "duration": 0.0, "confidence": 1.0, "value": 0.0036614 },
+    { "time": 1.973696145, "duration": 0.0, "confidence": 1.0, "value": 0.00358802 },
+    { "time": 1.996916099, "duration": 0.0, "confidence": 1.0, "value": 0.00351078 },
+    { "time": 2.020136054, "duration": 0.0, "confidence": 1.0, "value": 0.00351788 },
+    { "time": 2.043356009, "duration": 0.0, "confidence": 1.0, "value": 0.00345998 },
+    { "time": 2.066575963, "duration": 0.0, "confidence": 1.0, "value": 0.00359541 },
+    { "time": 2.089795918, "duration": 0.0, "confidence": 1.0, "value": 0.00363803 },
+    { "time": 2.113015873, "duration": 0.0, "confidence": 1.0, "value": 0.00341127 },
+    { "time": 2.136235827, "duration": 0.0, "confidence": 1.0, "value": 0.00358579 },
+    { "time": 2.159455782, "duration": 0.0, "confidence": 1.0, "value": 0.00358391 },
+    { "time": 2.182675736, "duration": 0.0, "confidence": 1.0, "value": 0.00349291 },
+    { "time": 2.205895691, "duration": 0.0, "confidence": 1.0, "value": 0.00350593 },
+    { "time": 2.229115646, "duration": 0.0, "confidence": 1.0, "value": 0.00347529 },
+    { "time": 2.252335600, "duration": 0.0, "confidence": 1.0, "value": 0.00358021 },
+    { "time": 2.275555555, "duration": 0.0, "confidence": 1.0, "value": 0.00353051 },
+    { "time": 2.298775510, "duration": 0.0, "confidence": 1.0, "value": 0.00360463 },
+    { "time": 2.321995464, "duration": 0.0, "confidence": 1.0, "value": 0.00357421 },
+    { "time": 2.345215419, "duration": 0.0, "confidence": 1.0, "value": 0.00343617 },
+    { "time": 2.368435374, "duration": 0.0, "confidence": 1.0, "value": 0.00367464 },
+    { "time": 2.391655328, "duration": 0.0, "confidence": 1.0, "value": 0.00623882 },
+    { "time": 2.414875283, "duration": 0.0, "confidence": 1.0, "value": 0.0139992 },
+    { "time": 2.438095238, "duration": 0.0, "confidence": 1.0, "value": 0.00347958 },
+    { "time": 2.461315192, "duration": 0.0, "confidence": 1.0, "value": 0.00348231 },
+    { "time": 2.484535147, "duration": 0.0, "confidence": 1.0, "value": 0.0035482 },
+    { "time": 2.507755102, "duration": 0.0, "confidence": 1.0, "value": 0.00350744 },
+    { "time": 2.530975056, "duration": 0.0, "confidence": 1.0, "value": 0.00342298 },
+    { "time": 2.554195011, "duration": 0.0, "confidence": 1.0, "value": 0.00366419 },
+    { "time": 2.577414965, "duration": 0.0, "confidence": 1.0, "value": 0.0034377 },
+    { "time": 2.600634920, "duration": 0.0, "confidence": 1.0, "value": 0.00356318 },
+    { "time": 2.623854875, "duration": 0.0, "confidence": 1.0, "value": 0.00354368 },
+    { "time": 2.647074829, "duration": 0.0, "confidence": 1.0, "value": 0.00360324 },
+    { "time": 2.670294784, "duration": 0.0, "confidence": 1.0, "value": 0.00354322 },
+    { "time": 2.693514739, "duration": 0.0, "confidence": 1.0, "value": 0.0035675 },
+    { "time": 2.716734693, "duration": 0.0, "confidence": 1.0, "value": 0.00346242 },
+    { "time": 2.739954648, "duration": 0.0, "confidence": 1.0, "value": 0.00348647 },
+    { "time": 2.763174603, "duration": 0.0, "confidence": 1.0, "value": 0.0034772 },
+    { "time": 2.786394557, "duration": 0.0, "confidence": 1.0, "value": 0.00344762 },
+    { "time": 2.809614512, "duration": 0.0, "confidence": 1.0, "value": 0.00352104 },
+    { "time": 2.832834467, "duration": 0.0, "confidence": 1.0, "value": 0.00355933 },
+    { "time": 2.856054421, "duration": 0.0, "confidence": 1.0, "value": 0.00340756 },
+    { "time": 2.879274376, "duration": 0.0, "confidence": 1.0, "value": 0.00349975 },
+    { "time": 2.902494331, "duration": 0.0, "confidence": 1.0, "value": 0.00348265 },
+    { "time": 2.925714285, "duration": 0.0, "confidence": 1.0, "value": 0.00354504 },
+    { "time": 2.948934240, "duration": 0.0, "confidence": 1.0, "value": 0.00349364 },
+    { "time": 2.972154195, "duration": 0.0, "confidence": 1.0, "value": 0.00349891 },
+    { "time": 2.995374149, "duration": 0.0, "confidence": 1.0, "value": 0.00356645 },
+    { "time": 3.018594104, "duration": 0.0, "confidence": 1.0, "value": 0.00353567 },
+    { "time": 3.041814058, "duration": 0.0, "confidence": 1.0, "value": 0.00360318 },
+    { "time": 3.065034013, "duration": 0.0, "confidence": 1.0, "value": 0.00359901 },
+    { "time": 3.088253968, "duration": 0.0, "confidence": 1.0, "value": 0.00349811 },
+    { "time": 3.111473922, "duration": 0.0, "confidence": 1.0, "value": 0.00358849 },
+    { "time": 3.134693877, "duration": 0.0, "confidence": 1.0, "value": 0.00359128 },
+    { "time": 3.157913832, "duration": 0.0, "confidence": 1.0, "value": 0.00352523 },
+    { "time": 3.181133786, "duration": 0.0, "confidence": 1.0, "value": 0.00360644 },
+    { "time": 3.204353741, "duration": 0.0, "confidence": 1.0, "value": 0.00351975 },
+    { "time": 3.227573696, "duration": 0.0, "confidence": 1.0, "value": 0.00360961 },
+    { "time": 3.250793650, "duration": 0.0, "confidence": 1.0, "value": 0.00353225 },
+    { "time": 3.274013605, "duration": 0.0, "confidence": 1.0, "value": 0.00356697 },
+    { "time": 3.297233560, "duration": 0.0, "confidence": 1.0, "value": 0.00342544 },
+    { "time": 3.320453514, "duration": 0.0, "confidence": 1.0, "value": 0.00356122 },
+    { "time": 3.343673469, "duration": 0.0, "confidence": 1.0, "value": 0.00357135 },
+    { "time": 3.366893424, "duration": 0.0, "confidence": 1.0, "value": 0.00352669 },
+    { "time": 3.390113378, "duration": 0.0, "confidence": 1.0, "value": 0.00359497 },
+    { "time": 3.413333333, "duration": 0.0, "confidence": 1.0, "value": 0.00357022 },
+    { "time": 3.436553287, "duration": 0.0, "confidence": 1.0, "value": 0.00350066 },
+    { "time": 3.459773242, "duration": 0.0, "confidence": 1.0, "value": 0.00349705 },
+    { "time": 3.482993197, "duration": 0.0, "confidence": 1.0, "value": 0.00350598 },
+    { "time": 3.506213151, "duration": 0.0, "confidence": 1.0, "value": 0.00357775 },
+    { "time": 3.529433106, "duration": 0.0, "confidence": 1.0, "value": 0.00352816 },
+    { "time": 3.552653061, "duration": 0.0, "confidence": 1.0, "value": 0.00358455 },
+    { "time": 3.575873015, "duration": 0.0, "confidence": 1.0, "value": 0.00348071 },
+    { "time": 3.599092970, "duration": 0.0, "confidence": 1.0, "value": 0.00355185 },
+    { "time": 3.622312925, "duration": 0.0, "confidence": 1.0, "value": 0.00350845 },
+    { "time": 3.645532879, "duration": 0.0, "confidence": 1.0, "value": 0.00360378 },
+    { "time": 3.668752834, "duration": 0.0, "confidence": 1.0, "value": 0.00333629 },
+    { "time": 3.691972789, "duration": 0.0, "confidence": 1.0, "value": 0.00341339 },
+    { "time": 3.715192743, "duration": 0.0, "confidence": 1.0, "value": 0.00345791 },
+    { "time": 3.738412698, "duration": 0.0, "confidence": 1.0, "value": 0.00348351 },
+    { "time": 3.761632653, "duration": 0.0, "confidence": 1.0, "value": 0.00349349 },
+    { "time": 3.784852607, "duration": 0.0, "confidence": 1.0, "value": 0.00354578 },
+    { "time": 3.808072562, "duration": 0.0, "confidence": 1.0, "value": 0.00363189 },
+    { "time": 3.831292517, "duration": 0.0, "confidence": 1.0, "value": 0.00352206 },
+    { "time": 3.854512471, "duration": 0.0, "confidence": 1.0, "value": 0.00369021 },
+    { "time": 3.877732426, "duration": 0.0, "confidence": 1.0, "value": 0.00351326 },
+    { "time": 3.900952380, "duration": 0.0, "confidence": 1.0, "value": 0.00356962 },
+    { "time": 3.924172335, "duration": 0.0, "confidence": 1.0, "value": 0.00357592 },
+    { "time": 3.947392290, "duration": 0.0, "confidence": 1.0, "value": 0.00349988 },
+    { "time": 3.970612244, "duration": 0.0, "confidence": 1.0, "value": 0.00349944 },
+    { "time": 3.993832199, "duration": 0.0, "confidence": 1.0, "value": 0.00355037 },
+    { "time": 4.017052154, "duration": 0.0, "confidence": 1.0, "value": 0.00360133 },
+    { "time": 4.040272108, "duration": 0.0, "confidence": 1.0, "value": 0.00354759 },
+    { "time": 4.063492063, "duration": 0.0, "confidence": 1.0, "value": 0.00354953 },
+    { "time": 4.086712018, "duration": 0.0, "confidence": 1.0, "value": 0.0035587 },
+    { "time": 4.109931972, "duration": 0.0, "confidence": 1.0, "value": 0.00364969 },
+    { "time": 4.133151927, "duration": 0.0, "confidence": 1.0, "value": 0.00345758 },
+    { "time": 4.156371882, "duration": 0.0, "confidence": 1.0, "value": 0.00347695 },
+    { "time": 4.179591836, "duration": 0.0, "confidence": 1.0, "value": 0.00359545 },
+    { "time": 4.202811791, "duration": 0.0, "confidence": 1.0, "value": 0.00353286 },
+    { "time": 4.226031746, "duration": 0.0, "confidence": 1.0, "value": 0.00366958 },
+    { "time": 4.249251700, "duration": 0.0, "confidence": 1.0, "value": 0.00350838 },
+    { "time": 4.272471655, "duration": 0.0, "confidence": 1.0, "value": 0.00353147 },
+    { "time": 4.295691609, "duration": 0.0, "confidence": 1.0, "value": 0.0036185 },
+    { "time": 4.318911564, "duration": 0.0, "confidence": 1.0, "value": 0.00349132 },
+    { "time": 4.342131519, "duration": 0.0, "confidence": 1.0, "value": 0.00353897 },
+    { "time": 4.365351473, "duration": 0.0, "confidence": 1.0, "value": 0.00347904 },
+    { "time": 4.388571428, "duration": 0.0, "confidence": 1.0, "value": 0.00348759 },
+    { "time": 4.411791383, "duration": 0.0, "confidence": 1.0, "value": 0.00358541 },
+    { "time": 4.435011337, "duration": 0.0, "confidence": 1.0, "value": 0.00349229 },
+    { "time": 4.458231292, "duration": 0.0, "confidence": 1.0, "value": 0.00357759 },
+    { "time": 4.481451247, "duration": 0.0, "confidence": 1.0, "value": 0.00355427 },
+    { "time": 4.504671201, "duration": 0.0, "confidence": 1.0, "value": 0.00355063 },
+    { "time": 4.527891156, "duration": 0.0, "confidence": 1.0, "value": 0.00358087 },
+    { "time": 4.551111111, "duration": 0.0, "confidence": 1.0, "value": 0.00350815 },
+    { "time": 4.574331065, "duration": 0.0, "confidence": 1.0, "value": 0.00353843 },
+    { "time": 4.597551020, "duration": 0.0, "confidence": 1.0, "value": 0.00354201 },
+    { "time": 4.620770975, "duration": 0.0, "confidence": 1.0, "value": 0.00350497 },
+    { "time": 4.643990929, "duration": 0.0, "confidence": 1.0, "value": 0.00354671 },
+    { "time": 4.667210884, "duration": 0.0, "confidence": 1.0, "value": 0.00353596 },
+    { "time": 4.690430839, "duration": 0.0, "confidence": 1.0, "value": 0.00347371 },
+    { "time": 4.713650793, "duration": 0.0, "confidence": 1.0, "value": 0.0035368 },
+    { "time": 4.736870748, "duration": 0.0, "confidence": 1.0, "value": 0.00360017 },
+    { "time": 4.760090702, "duration": 0.0, "confidence": 1.0, "value": 0.00352821 },
+    { "time": 4.783310657, "duration": 0.0, "confidence": 1.0, "value": 0.00359332 },
+    { "time": 4.806530612, "duration": 0.0, "confidence": 1.0, "value": 0.00353742 },
+    { "time": 4.829750566, "duration": 0.0, "confidence": 1.0, "value": 0.00353795 },
+    { "time": 4.852970521, "duration": 0.0, "confidence": 1.0, "value": 0.00348792 },
+    { "time": 4.876190476, "duration": 0.0, "confidence": 1.0, "value": 0.0034639 },
+    { "time": 4.899410430, "duration": 0.0, "confidence": 1.0, "value": 0.0036387 },
+    { "time": 4.922630385, "duration": 0.0, "confidence": 1.0, "value": 0.00354102 },
+    { "time": 4.945850340, "duration": 0.0, "confidence": 1.0, "value": 0.00351475 },
+    { "time": 4.969070294, "duration": 0.0, "confidence": 1.0, "value": 0.00356904 }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/curve-fsr.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/curve-fsr.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "20sec-silence.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "20sec-silence.wav" },
+  "duration": 20.003265306
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -21,16 +24,16 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "label": { "value": "1 of 10: 0 at 0" }, "value": [ 0 ] },
-    { "time": { "value": 0.400000000 }, "label": { "value": "2 of 10: 0.1 at 0.4" }, "value": [ 0.1 ] },
-    { "time": { "value": 0.800000000 }, "label": { "value": "3 of 10: 0.2 at 0.8" }, "value": [ 0.2 ] },
-    { "time": { "value": 1.200000000 }, "label": { "value": "4 of 10: 0.3 at 1.2" }, "value": [ 0.3 ] },
-    { "time": { "value": 1.600000000 }, "label": { "value": "5 of 10: 0.4 at 1.6" }, "value": [ 0.4 ] },
-    { "time": { "value": 2.000000000 }, "label": { "value": "6 of 10: 0.5 at 2" }, "value": [ 0.5 ] },
-    { "time": { "value": 2.400000000 }, "label": { "value": "7 of 10: 0.6 at 2.4" }, "value": [ 0.6 ] },
-    { "time": { "value": 2.800000000 }, "label": { "value": "8 of 10: 0.7 at 2.8" }, "value": [ 0.7 ] },
-    { "time": { "value": 3.200000000 }, "label": { "value": "9 of 10: 0.8 at 3.2" }, "value": [ 0.8 ] },
-    { "time": { "value": 3.600000000 }, "label": { "value": "10 of 10: 0.9 at 3.6" }, "value": [ 0.9 ] }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "label": "1 of 10: 0 at 0", "value": 0 },
+    { "time": 0.400000000, "duration": 0.0, "confidence": 1.0, "label": "2 of 10: 0.1 at 0.4", "value": 0.1 },
+    { "time": 0.800000000, "duration": 0.0, "confidence": 1.0, "label": "3 of 10: 0.2 at 0.8", "value": 0.2 },
+    { "time": 1.200000000, "duration": 0.0, "confidence": 1.0, "label": "4 of 10: 0.3 at 1.2", "value": 0.3 },
+    { "time": 1.600000000, "duration": 0.0, "confidence": 1.0, "label": "5 of 10: 0.4 at 1.6", "value": 0.4 },
+    { "time": 2.000000000, "duration": 0.0, "confidence": 1.0, "label": "6 of 10: 0.5 at 2", "value": 0.5 },
+    { "time": 2.400000000, "duration": 0.0, "confidence": 1.0, "label": "7 of 10: 0.6 at 2.4", "value": 0.6 },
+    { "time": 2.800000000, "duration": 0.0, "confidence": 1.0, "label": "8 of 10: 0.7 at 2.8", "value": 0.7 },
+    { "time": 3.200000000, "duration": 0.0, "confidence": 1.0, "label": "9 of 10: 0.8 at 3.2", "value": 0.8 },
+    { "time": 3.600000000, "duration": 0.0, "confidence": 1.0, "label": "10 of 10: 0.9 at 3.6", "value": 0.9 }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/grid-oss.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/grid-oss.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "20sec-silence.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "20sec-silence.wav" },
+  "duration": 20.003265306
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -21,26 +24,26 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "label": { "value": "1 of 20 at 0" }, "value": [ 0.0666667, 0.1, 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667 ] },
-    { "time": { "value": 0.023219954 }, "label": { "value": "2 of 20 at 0.023" }, "value": [ 0.1, 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4 ] },
-    { "time": { "value": 0.046439909 }, "label": { "value": "3 of 20 at 0.046" }, "value": [ 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333 ] },
-    { "time": { "value": 0.069659863 }, "label": { "value": "4 of 20 at 0.069" }, "value": [ 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667 ] },
-    { "time": { "value": 0.092879818 }, "label": { "value": "5 of 20 at 0.092" }, "value": [ 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5 ] },
-    { "time": { "value": 0.116099773 }, "label": { "value": "6 of 20 at 0.116" }, "value": [ 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333 ] },
-    { "time": { "value": 0.139319727 }, "label": { "value": "7 of 20 at 0.139" }, "value": [ 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667 ] },
-    { "time": { "value": 0.162539682 }, "label": { "value": "8 of 20 at 0.162" }, "value": [ 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6 ] },
-    { "time": { "value": 0.185759637 }, "label": { "value": "9 of 20 at 0.185" }, "value": [ 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333 ] },
-    { "time": { "value": 0.208979591 }, "label": { "value": "10 of 20 at 0.208" }, "value": [ 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667 ] },
-    { "time": { "value": 0.232199546 }, "label": { "value": "11 of 20 at 0.232" }, "value": [ 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7 ] },
-    { "time": { "value": 0.255419501 }, "label": { "value": "12 of 20 at 0.255" }, "value": [ 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333 ] },
-    { "time": { "value": 0.278639455 }, "label": { "value": "13 of 20 at 0.278" }, "value": [ 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667 ] },
-    { "time": { "value": 0.301859410 }, "label": { "value": "14 of 20 at 0.301" }, "value": [ 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8 ] },
-    { "time": { "value": 0.325079365 }, "label": { "value": "15 of 20 at 0.325" }, "value": [ 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333 ] },
-    { "time": { "value": 0.348299319 }, "label": { "value": "16 of 20 at 0.348" }, "value": [ 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667 ] },
-    { "time": { "value": 0.371519274 }, "label": { "value": "17 of 20 at 0.371" }, "value": [ 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9 ] },
-    { "time": { "value": 0.394739229 }, "label": { "value": "18 of 20 at 0.394" }, "value": [ 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333 ] },
-    { "time": { "value": 0.417959183 }, "label": { "value": "19 of 20 at 0.417" }, "value": [ 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333, 0.966667 ] },
-    { "time": { "value": 0.441179138 }, "label": { "value": "20 of 20 at 0.441" }, "value": [ 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333, 0.966667, 1 ] }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "label": "1 of 20 at 0", "value": [ 0.0666667, 0.1, 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667 ] },
+    { "time": 0.023219954, "duration": 0.0, "confidence": 1.0, "label": "2 of 20 at 0.023", "value": [ 0.1, 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4 ] },
+    { "time": 0.046439909, "duration": 0.0, "confidence": 1.0, "label": "3 of 20 at 0.046", "value": [ 0.133333, 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333 ] },
+    { "time": 0.069659863, "duration": 0.0, "confidence": 1.0, "label": "4 of 20 at 0.069", "value": [ 0.166667, 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667 ] },
+    { "time": 0.092879818, "duration": 0.0, "confidence": 1.0, "label": "5 of 20 at 0.092", "value": [ 0.2, 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5 ] },
+    { "time": 0.116099773, "duration": 0.0, "confidence": 1.0, "label": "6 of 20 at 0.116", "value": [ 0.233333, 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333 ] },
+    { "time": 0.139319727, "duration": 0.0, "confidence": 1.0, "label": "7 of 20 at 0.139", "value": [ 0.266667, 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667 ] },
+    { "time": 0.162539682, "duration": 0.0, "confidence": 1.0, "label": "8 of 20 at 0.162", "value": [ 0.3, 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6 ] },
+    { "time": 0.185759637, "duration": 0.0, "confidence": 1.0, "label": "9 of 20 at 0.185", "value": [ 0.333333, 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333 ] },
+    { "time": 0.208979591, "duration": 0.0, "confidence": 1.0, "label": "10 of 20 at 0.208", "value": [ 0.366667, 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667 ] },
+    { "time": 0.232199546, "duration": 0.0, "confidence": 1.0, "label": "11 of 20 at 0.232", "value": [ 0.4, 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7 ] },
+    { "time": 0.255419501, "duration": 0.0, "confidence": 1.0, "label": "12 of 20 at 0.255", "value": [ 0.433333, 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333 ] },
+    { "time": 0.278639455, "duration": 0.0, "confidence": 1.0, "label": "13 of 20 at 0.278", "value": [ 0.466667, 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667 ] },
+    { "time": 0.301859410, "duration": 0.0, "confidence": 1.0, "label": "14 of 20 at 0.301", "value": [ 0.5, 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8 ] },
+    { "time": 0.325079365, "duration": 0.0, "confidence": 1.0, "label": "15 of 20 at 0.325", "value": [ 0.533333, 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333 ] },
+    { "time": 0.348299319, "duration": 0.0, "confidence": 1.0, "label": "16 of 20 at 0.348", "value": [ 0.566667, 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667 ] },
+    { "time": 0.371519274, "duration": 0.0, "confidence": 1.0, "label": "17 of 20 at 0.371", "value": [ 0.6, 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9 ] },
+    { "time": 0.394739229, "duration": 0.0, "confidence": 1.0, "label": "18 of 20 at 0.394", "value": [ 0.633333, 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333 ] },
+    { "time": 0.417959183, "duration": 0.0, "confidence": 1.0, "label": "19 of 20 at 0.417", "value": [ 0.666667, 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333, 0.966667 ] },
+    { "time": 0.441179138, "duration": 0.0, "confidence": 1.0, "label": "20 of 20 at 0.441", "value": [ 0.7, 0.733333, 0.766667, 0.8, 0.833333, 0.866667, 0.9, 0.933333, 0.966667, 1 ] }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/instants.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/instants.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "20sec-silence.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "20sec-silence.wav" },
+  "duration": 20.003265306
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -21,16 +24,16 @@
     }
   },
   "data": [
-    { "time": { "value": 0.000000000 }, "label": { "value": "1 of 10 at 0" } },
-    { "time": { "value": 1.500000000 }, "label": { "value": "2 of 10 at 1.5" } },
-    { "time": { "value": 3.000000000 }, "label": { "value": "3 of 10 at 3" } },
-    { "time": { "value": 4.500000000 }, "label": { "value": "4 of 10 at 4.5" } },
-    { "time": { "value": 6.000000000 }, "label": { "value": "5 of 10 at 6" } },
-    { "time": { "value": 7.500000000 }, "label": { "value": "6 of 10 at 7.5" } },
-    { "time": { "value": 9.000000000 }, "label": { "value": "7 of 10 at 9" } },
-    { "time": { "value": 10.500000000 }, "label": { "value": "8 of 10 at 10.5" } },
-    { "time": { "value": 12.000000000 }, "label": { "value": "9 of 10 at 12" } },
-    { "time": { "value": 13.500000000 }, "label": { "value": "10 of 10 at 13.5" } }
+    { "time": 0.000000000, "duration": 0.0, "confidence": 1.0, "value": "1 of 10 at 0" },
+    { "time": 1.500000000, "duration": 0.0, "confidence": 1.0, "value": "2 of 10 at 1.5" },
+    { "time": 3.000000000, "duration": 0.0, "confidence": 1.0, "value": "3 of 10 at 3" },
+    { "time": 4.500000000, "duration": 0.0, "confidence": 1.0, "value": "4 of 10 at 4.5" },
+    { "time": 6.000000000, "duration": 0.0, "confidence": 1.0, "value": "5 of 10 at 6" },
+    { "time": 7.500000000, "duration": 0.0, "confidence": 1.0, "value": "6 of 10 at 7.5" },
+    { "time": 9.000000000, "duration": 0.0, "confidence": 1.0, "value": "7 of 10 at 9" },
+    { "time": 10.500000000, "duration": 0.0, "confidence": 1.0, "value": "8 of 10 at 10.5" },
+    { "time": 12.000000000, "duration": 0.0, "confidence": 1.0, "value": "9 of 10 at 12" },
+    { "time": 13.500000000, "duration": 0.0, "confidence": 1.0, "value": "10 of 10 at 13.5" }
   ]
 }
 ]
--- a/tests/test-jams-writer/expected/notes-regions.json	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/expected/notes-regions.json	Wed Nov 04 10:07:29 2015 +0000
@@ -1,9 +1,12 @@
 {
 "file_metadata": {
-  "filename": "20sec-silence.wav"
+  "jams_version": "0.2.0",
+  "identifiers": { "filename": "20sec-silence.wav" },
+  "duration": 20.003265306
 },
-"unknown": [
-{ 
+"annotations": [
+{
+  "namespace": "unknown",
   "annotation_metadata": {
     "annotation_tools": "Sonic Annotator v1.3",
     "data_source": "Automatic feature extraction",
@@ -21,16 +24,16 @@
     }
   },
   "data": [
-    { "start": { "value": 0.000000000 }, "end": { "value": 1.750000000 }, "label": { "value": "1 of 10: 0 at 0 dur. 1.75" }, "value": [ 0 ] },
-    { "start": { "value": 1.000000000 }, "end": { "value": 1.500000000 }, "label": { "value": "2 of 10: 0.1 at 1 dur. 0.5" }, "value": [ 0.1 ] },
-    { "start": { "value": 2.000000000 }, "end": { "value": 3.750000000 }, "label": { "value": "3 of 10: 0.2 at 2 dur. 1.75" }, "value": [ 0.2 ] },
-    { "start": { "value": 3.000000000 }, "end": { "value": 3.500000000 }, "label": { "value": "4 of 10: 0.3 at 3 dur. 0.5" }, "value": [ 0.3 ] },
-    { "start": { "value": 4.000000000 }, "end": { "value": 5.750000000 }, "label": { "value": "5 of 10: 0.4 at 4 dur. 1.75" }, "value": [ 0.4 ] },
-    { "start": { "value": 5.000000000 }, "end": { "value": 5.500000000 }, "label": { "value": "6 of 10: 0.5 at 5 dur. 0.5" }, "value": [ 0.5 ] },
-    { "start": { "value": 6.000000000 }, "end": { "value": 7.750000000 }, "label": { "value": "7 of 10: 0.6 at 6 dur. 1.75" }, "value": [ 0.6 ] },
-    { "start": { "value": 7.000000000 }, "end": { "value": 7.500000000 }, "label": { "value": "8 of 10: 0.7 at 7 dur. 0.5" }, "value": [ 0.7 ] },
-    { "start": { "value": 8.000000000 }, "end": { "value": 9.750000000 }, "label": { "value": "9 of 10: 0.8 at 8 dur. 1.75" }, "value": [ 0.8 ] },
-    { "start": { "value": 9.000000000 }, "end": { "value": 9.500000000 }, "label": { "value": "10 of 10: 0.9 at 9 dur. 0.5" }, "value": [ 0.9 ] }
+    { "time": 0.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "1 of 10: 0 at 0 dur. 1.75", "value": 0 },
+    { "time": 1.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "2 of 10: 0.1 at 1 dur. 0.5", "value": 0.1 },
+    { "time": 2.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "3 of 10: 0.2 at 2 dur. 1.75", "value": 0.2 },
+    { "time": 3.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "4 of 10: 0.3 at 3 dur. 0.5", "value": 0.3 },
+    { "time": 4.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "5 of 10: 0.4 at 4 dur. 1.75", "value": 0.4 },
+    { "time": 5.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "6 of 10: 0.5 at 5 dur. 0.5", "value": 0.5 },
+    { "time": 6.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "7 of 10: 0.6 at 6 dur. 1.75", "value": 0.6 },
+    { "time": 7.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "8 of 10: 0.7 at 7 dur. 0.5", "value": 0.7 },
+    { "time": 8.000000000, "duration": 1.750000000, "confidence": 1.0, "label": "9 of 10: 0.8 at 8 dur. 1.75", "value": 0.8 },
+    { "time": 9.000000000, "duration": 0.500000000, "confidence": 1.0, "label": "10 of 10: 0.9 at 9 dur. 0.5", "value": 0.9 }
   ]
 }
 ]
--- a/tests/test-jams-writer/test-jams-writer.sh	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-jams-writer/test-jams-writer.sh	Wed Nov 04 10:07:29 2015 +0000
@@ -24,7 +24,26 @@
 
 done
 
-# Now check for valid results, for a subset
+# If JAMS is installed, we can report on whether the outputs are valid
+# JAMS schema files or not -- unfortunately we can't comply with the
+# schema for most real plugins, so we can only make indicative reports
+# for most. This is such a limited test that we make it optional; it's
+# a bit much to expect everyone to have JAMS installed just for
+# this. Also the JAMS verifier doesn't currently always work for me
+# (e.g. it doesn't seem to work correctly with Python 3 at the moment)
+# so let's not make this fatal either.
+
+if jams_to_lab.py --help >/dev/null 2>&1; then
+
+    $r -t "$transformdir/onsets.n3" $mandatory --jams-one-file "$tmpjson" --jams-force "$infile" 2>/dev/null || \
+	fail "Failed to run for onsets"
+
+    if ! jams_to_lab.py "$tmpjson" test; then
+	echo "WARNING: JAMS schema verification failed for onsets"
+    fi
+fi
+
+# Now check against expected output, for a subset
 
 for output in instants curve-fsr grid-oss notes-regions; do
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-jams-writer/transforms/onsets.n3	Wed Nov 04 10:07:29 2015 +0000
@@ -0,0 +1,11 @@
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix vamp: <http://purl.org/ontology/vamp/>.
+@prefix examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>.
+@prefix : <#>.
+
+:transform0 a vamp:Transform;
+	vamp:plugin examples:percussiononsets ;
+	vamp:output examples:percussiononsets_output_onsets .
+
+
+
--- a/tests/test-supportprogs/test-supportprogs.sh	Tue Nov 03 14:31:59 2015 +0000
+++ b/tests/test-supportprogs/test-supportprogs.sh	Wed Nov 04 10:07:29 2015 +0000
@@ -17,5 +17,8 @@
 echo '{}' | json_verify >/dev/null || \
     fail "Can't find required json_verify program, or it doesn't seem to work"
 
+echo '{}' | json_reformat >/dev/null || \
+    fail "Can't find required json_reformat program, or it doesn't seem to work"
+
 exit 0