It seems like your data is not from the same version of Spine you are importing into. Run the same version, import, save a .spine file, then open the .spine file in a newer version of Spine.
Otherwise you can try changing weightedmesh
to mesh
in the JSON data.