a MIDI file parser, writer, and intermediary MIDI JSON structure