use text/plain for JSON responses to posted forms so older browsers don't try to download it