Add tests/util/cue2json.js for creating test-ready JSON from parsed cues.