Change training plan name which complient with ajax controller form action. Also add json support for training plan.