Working (preliminary) midi2json