testing json route validation