add level values to the json string to be used as classes for weight changes