clean up routes/visit-tick, add format param
Implement JSON format