Reaction of polyisoprene with peracids