Formatting JSON in Node.js: File I/O, APIs, and Streams