I'm attempting to use Axios to GET some data from a backend. The data is usually returned in MessagePack form, but Axios auto-parses the data into what I believe is JSON. However, the response data appears to have a "%" sign in front of every entry and the key values are not all surrounded by quotes. Proper JSON format requires even the key to be in quotes to signify that it is a string. I'm not able to change the backend or what data form I get after making the call. I'm trying to access the data inside but it returns undefined. Trying to parse the JSON string also gets me nowhere; it stops at the first character "%" and says "Unexpected token".
%{
attendance: nil,
away_team: %{
age_group: nil,
id: 3222,
main_color: [2, 1, 4],
name: "Random Name",
national: false,
region: %{id: 11, name: "Country"},
sex: "male"
}