created helper method for setting question set and class group in question set controller and fixed json view for route nesting