Add CORS header for JSON cross-ports
Fix indentation