Fixed CVarOnChange, wrote Dict.toJSON()