Return JSON from /logout