allow trailing slash on json view