Update routes to enforce JSON response format