JSON-friednly redirect