Simplify lens matching of exercise JSON