Fixing automatic JSON encoding in `respond()`