JSON "api" redirect